Fix syntax error (HP server)

netsetup
Mike Hiretsky 13 years ago
parent ded6595aef
commit ced1bb293b

@ -188,7 +188,7 @@ class fillVars(object, glob_attr):
disk_hash[dev]['grub'] = "%d,%d" % \
(int(devicesHash[match.groups()[0]]['map']),
int(match.groups()[1])-1)
elif metch.groups()[2] in devicesHash:
elif match.groups()[2] in devicesHash:
disk_hash[dev]['grub'] = "%d,%d" % \
(int(devicesHash[match.groups()[2]]['map']),
int(match.groups()[3])-1)

Loading…
Cancel
Save