mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 11:11:07 -03:30
use the _correct_ argument to specify poll vs select
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user