Fix wait_for to compile on python3 (#3722)
This commit is contained in:
parent
39693305cf
commit
3a20fc4d0c
2 changed files with 3 additions and 3 deletions
|
@ -83,8 +83,7 @@ env:
|
||||||
cloud/vmware/vsphere_guest.py
|
cloud/vmware/vsphere_guest.py
|
||||||
utilities/helper/accelerate.py
|
utilities/helper/accelerate.py
|
||||||
utilities/logic/async_status.py
|
utilities/logic/async_status.py
|
||||||
utilities/logic/async_wrapper.py
|
utilities/logic/async_wrapper.py"
|
||||||
utilities/logic/wait_for.py"
|
|
||||||
before_install:
|
before_install:
|
||||||
- git config user.name "ansible"
|
- git config user.name "ansible"
|
||||||
- git config user.email "ansible@ansible.com"
|
- git config user.email "ansible@ansible.com"
|
||||||
|
|
|
@ -435,7 +435,8 @@ def main():
|
||||||
if path:
|
if path:
|
||||||
try:
|
try:
|
||||||
os.stat(path)
|
os.stat(path)
|
||||||
except OSError, e:
|
except OSError:
|
||||||
|
e = get_exception()
|
||||||
# If anything except file not present, throw an error
|
# If anything except file not present, throw an error
|
||||||
if e.errno != 2:
|
if e.errno != 2:
|
||||||
elapsed = datetime.datetime.now() - start
|
elapsed = datetime.datetime.now() - start
|
||||||
|
|
Loading…
Reference in a new issue