1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

Merge pull request #1893 from ryanpetrello/fix-broken-cancels

revert expect(use_poll=True) due to a bug that causes `os.read()` hangs
This commit is contained in:
Ryan Petrello 2018-05-21 13:05:51 -04:00 committed by GitHub
commit ffdd7f162b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@ def run_pexpect(args, cwd, env, logfile,
child = pexpect.spawn(
args[0], args[1:], cwd=cwd, env=env, ignore_sighup=True,
encoding='utf-8', echo=False, use_poll=True
encoding='utf-8', echo=False
)
child.logfile_read = logfile
canceled = False