diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-03-02 15:48:42 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-03-02 15:48:42 -0500 |
commit | 086fd973ea489dad5f680ce18fdacf61077fa82b (patch) | |
tree | 5250e06c3cddb31448220bd507b8e23f9c3a2bca /upstart/cloud-init-local.conf | |
parent | f0388cfffadc0596faeda9e11775597444bff25d (diff) | |
download | vyos-cloud-init-086fd973ea489dad5f680ce18fdacf61077fa82b.tar.gz vyos-cloud-init-086fd973ea489dad5f680ce18fdacf61077fa82b.zip |
url_helper.py: fix undefined variable
python2 scoping is different and running wait_for_url in python3
results in a use of undeclared variable 'e'.
$ python3 -c 'from cloudinit import url_helper; \
url_helper.wait_for_url("o", max_wait=3,timeout=1, exception_cb=print)'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "cloudinit/url_helper.py", line 358, in wait_for_url
exception_cb(msg=status_msg, exception=e)
Diffstat (limited to 'upstart/cloud-init-local.conf')
0 files changed, 0 insertions, 0 deletions