summaryrefslogtreecommitdiff
path: root/cloudinit/url_helper.py
diff options
context:
space:
mode:
authorParide Legovini <paride.legovini@canonical.com>2019-01-30 15:38:56 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-01-30 15:38:56 +0000
commit94a64529dccebd8fe8c7969370b8696e46023fbd (patch)
tree24028bb1e5f2ff24a4f605887381c14659f02a67 /cloudinit/url_helper.py
parent8ee294d567c071fff1f9567e968ba73602308192 (diff)
downloadcloud-init-git-94a64529dccebd8fe8c7969370b8696e46023fbd.tar.gz
Resolve flake8 comparison and pycodestyle over-ident issues
Fixes: - flake8: use ==/!= to compare str, bytes, and int literals - pycodestyle: E117 over-indented
Diffstat (limited to 'cloudinit/url_helper.py')
-rw-r--r--cloudinit/url_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/url_helper.py b/cloudinit/url_helper.py
index 396d69ae..0af0d9e3 100644
--- a/cloudinit/url_helper.py
+++ b/cloudinit/url_helper.py
@@ -521,7 +521,7 @@ class OauthUrlHelper(object):
if extra_exception_cb:
ret = extra_exception_cb(msg, exception)
finally:
- self.exception_cb(msg, exception)
+ self.exception_cb(msg, exception)
return ret
def _headers_cb(self, extra_headers_cb, url):