Fixed bug with splitting on ':'

This commit is contained in:
Joseph Hall 2011-07-25 11:15:53 -06:00
parent be002bded9
commit 8b157bccee

View File

@ -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(' ', '_')