mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-18 05:33:17 +00:00
Replace '/' in '-' in ipmi names
'/' confuses our '/' delimited namespace. Use '-' instead. '_or_' was considered, but other meanings could be applied other than '/'.
This commit is contained in:
parent
61a0a66486
commit
76906c191b
@ -58,7 +58,7 @@ def hex2bin(hexstring):
|
||||
return bytearray(bytedata)
|
||||
|
||||
def simplify_name(name):
|
||||
return name.lower().replace(' ', '_')
|
||||
return name.lower().replace(' ', '_').replace('/', '-')
|
||||
|
||||
|
||||
def sanitize_invdata(indata):
|
||||
|
Loading…
x
Reference in New Issue
Block a user