mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fixed bug with splitting on ':'
This commit is contained in:
parent
be002bded9
commit
8b157bccee
@ -59,7 +59,7 @@ def detail(device='/dev/md0'):
|
||||
'device': comps[-1],
|
||||
}
|
||||
continue
|
||||
comps = line.split(':')
|
||||
comps = line.split(' : ')
|
||||
comps[0] = comps[0].lower()
|
||||
comps[0] = comps[0].strip()
|
||||
comps[0] = comps[0].replace(' ', '_')
|
||||
|
Loading…
Reference in New Issue
Block a user