mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
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:
parent
15a2606c67
commit
e47d60a942
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user