Merge "Decode gearman function into utf"

This commit is contained in:
Zuul 2018-03-14 16:26:04 +00:00 committed by Gerrit Code Review
commit 1f6d3c402f
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class TestScheduler(ZuulTestCase):
"Test the correct variant of a job runs on a branch"
self._startMerger()
for f in list(self.executor_server.merger_worker.functions.keys()):
f = str(f)
f = f.decode('utf8')
if f.startswith('merger:'):
self.executor_server.merger_worker.unRegisterFunction(f)