mirror of
https://github.com/ansible/awx.git
synced 2026-03-27 05:45:02 -02:30
fix a few isolated issues related to the py2 -> py3 move
This commit is contained in:
@@ -257,7 +257,7 @@ def handle_termination(pid, args, proot_cmd, is_cancel=True):
|
|||||||
|
|
||||||
def __run__(private_data_dir):
|
def __run__(private_data_dir):
|
||||||
buff = StringIO()
|
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:
|
for line in f:
|
||||||
buff.write(line)
|
buff.write(line)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user