Merge pull request #3974 from ryanpetrello/downstream-i18n

Fix python3 fallout in translations management script

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot] 2019-05-30 19:06:26 +00:00 committed by GitHub
commit e6b78292ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,8 +75,8 @@ def _handle_response(output, errors):
"""
Prints response received from Zanata client
"""
if not errors and '\n' in output:
for response in output.split('\n'):
if not errors and '\n' in output.decode('utf-8'):
for response in output.decode('utf-8').split('\n'):
print(response)
return True
else: