Fix jenkins pylint failures

See the below link for details:

http://jenkins.saltstack.com/job/salt-lint/262/violations/file/salt/states/supervisord.py/
This commit is contained in:
Erik Johnson 2013-09-25 13:47:11 -05:00
parent 15a2606c67
commit e47d60a942

View File

@ -112,7 +112,7 @@ def running(name,
process_groups = []
for proc in all_processes:
if ':' in proc:
process_groups.append(proc[:proc.index(':')+1])
process_groups.append(proc[:proc.index(':') + 1])
process_groups = list(set(process_groups))
# determine if this process/group needs loading
@ -299,7 +299,7 @@ def dead(name,
process_groups = []
for proc in all_processes:
if ':' in proc:
process_groups.append(proc[:proc.index(':')+1])
process_groups.append(proc[:proc.index(':') + 1])
process_groups = list(set(process_groups))
is_stopped = None