diff --git a/awx/main/expect/run.py b/awx/main/expect/run.py index c443fcc165..0c8881a85c 100755 --- a/awx/main/expect/run.py +++ b/awx/main/expect/run.py @@ -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