mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
python <2.7 compability (pylint issue)
This commit is contained in:
parent
ecde499478
commit
cbaf46e066
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ for service_dir in VALID_SERVICE_DIRS:
|
|||
|
||||
def __virtual__():
|
||||
# Ensure that daemontools is installed properly.
|
||||
BINS = {'svc', 'supervise', 'svok'}
|
||||
BINS = frozenset(('svc', 'supervise', 'svok'))
|
||||
return all(salt.utils.which(b) for b in BINS)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue