juju-wait 2.5.1 fails from bundletester
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Wait Plugin |
New
|
Undecided
|
Unassigned |
Bug Description
2.5.1 introduced an shutil.which call:
https:/
It seems this doesn't exist in py2. Bundletester is py2 and now fails like this:
...
2017-04-20 19:07:01 DEBUG Deploy of bundle completed.
2017-04-20 19:07:01 INFO Waiting for deployment to complete.
Traceback (most recent call last):
File "/usr/local/
sys.
File "/usr/local/
wait(log, args.wait_
File "/usr/local/
status = get_status()
File "/usr/local/
json_status = run_or_
File "/usr/local/
if not shutil.which(juju):
AttributeError: 'module' object has no attribute 'which'
...
Would you consider creating a py2/3 compatible way to call 'which'?