added lower function for statuses

reviewable/pr18780/r1
Lorenzo Luconi Trombacchi 10 years ago
parent e1c6757eae
commit 838cd4123b

@ -77,7 +77,7 @@ def main():
# Process 'name' Running - restart pending # Process 'name' Running - restart pending
parts = line.split() parts = line.split()
if len(parts) > 2 and parts[0].lower() == 'process' and parts[1] == "'%s'" % name: if len(parts) > 2 and parts[0].lower() == 'process' and parts[1] == "'%s'" % name:
return ' '.join(parts[2:]) return ' '.join(parts[2:]).lower()
else: else:
return '' return ''

Loading…
Cancel
Save