mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 09:18:48 -03: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):
|
||||
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user