mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
fix a few isolated issues related to the py2 -> py3 move
This commit is contained in:
parent
04da4503db
commit
3d7fcb3835
@ -257,7 +257,7 @@ def handle_termination(pid, args, proot_cmd, is_cancel=True):
|
||||
|
||||
def __run__(private_data_dir):
|
||||
buff = StringIO()
|
||||
with open(os.path.join(private_data_dir, 'env'), 'r') as f:
|
||||
with codecs.open(os.path.join(private_data_dir, 'env'), 'r', encoding='utf-8') as f:
|
||||
for line in f:
|
||||
buff.write(line)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user