python <2.7 compability (pylint issue)

This commit is contained in:
Julien Cigar 2015-09-30 16:23:32 +02:00 committed by rallytime
parent ecde499478
commit cbaf46e066

View file

@ -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)