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

Merge pull request #1972 from ryanpetrello/i-am-not-a-smart-man

use the _correct_ argument to specify poll vs select
This commit is contained in:
Ryan Petrello 2018-05-29 11:31:51 -04:00 committed by GitHub
commit b6d450923a
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, poll=True
encoding='utf-8', echo=False, use_poll=True
)
child.logfile_read = logfile
canceled = False