mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 11:25:08 -02:30
don't use codecs.open for syncing isolated stdout data
see: https://github.com/ansible/tower/issues/2315
This commit is contained in:
@@ -318,7 +318,7 @@ class IsolatedManager(object):
|
||||
|
||||
path = self.path_to('artifacts', 'stdout')
|
||||
if os.path.exists(path):
|
||||
with codecs.open(path, 'r', encoding='utf-8') as f:
|
||||
with open(path, 'r') as f:
|
||||
f.seek(seek)
|
||||
for line in f:
|
||||
self.stdout_handle.write(line)
|
||||
|
||||
Reference in New Issue
Block a user