mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Fix python3 fallout in translations management script
This commit is contained in:
parent
0a256a98be
commit
49b54f2d60
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user