Merge pull request #43878 from netzmacher/develop

Bugfix: runners/survey.py Python3 support
This commit is contained in:
Nicole Thomas 2017-10-05 14:52:09 -04:00 committed by GitHub
commit 4a942b75e9

View File

@ -171,7 +171,7 @@ def _get_pool_results(*args, **kwargs):
# hash minion return values as a string
for minion in sorted(minions):
digest = hashlib.sha256(str(minions[minion])).hexdigest()
digest = hashlib.sha256(str(minions[minion]).encode(__salt_system_encoding__)).hexdigest()
if digest not in ret:
ret[digest] = {}
ret[digest]['pool'] = []