mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 11:25:08 -02:30
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:
@@ -75,8 +75,8 @@ def _handle_response(output, errors):
|
|||||||
"""
|
"""
|
||||||
Prints response received from Zanata client
|
Prints response received from Zanata client
|
||||||
"""
|
"""
|
||||||
if not errors and '\n' in output:
|
if not errors and '\n' in output.decode('utf-8'):
|
||||||
for response in output.split('\n'):
|
for response in output.decode('utf-8').split('\n'):
|
||||||
print(response)
|
print(response)
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user