summaryrefslogtreecommitdiff
path: root/cloudinit/url_helper.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-08-07 09:19:29 -0500
committerScott Moser <smoser@ubuntu.com>2015-08-07 09:19:29 -0500
commitbe2d965bcd2ebd58d41b790d6cc553d98a8234c4 (patch)
tree94e39608ff62efa2bf3045a1e3081241df908813 /cloudinit/url_helper.py
parent3c135e4b90ea55e85b9a9afd039acbb9fa672208 (diff)
downloadvyos-cloud-init-be2d965bcd2ebd58d41b790d6cc553d98a8234c4.tar.gz
vyos-cloud-init-be2d965bcd2ebd58d41b790d6cc553d98a8234c4.zip
fix syntax
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 81569e19..dca4cc85 100644
--- a/cloudinit/url_helper.py
+++ b/cloudinit/url_helper.py
@@ -431,7 +431,7 @@ class OauthUrlHelper(object):
skew = int(remote_time - time.time())
host = urlparse(exception.url).netloc
old_skew = self.skew_data.get(host, 0)
- if (abs(old_skew - skew) > self.skew_change_limit:
+ if abs(old_skew - skew) > self.skew_change_limit:
self.update_skew_file(host, skew)
LOG.warn("Setting oauth clockskew for %s to %d", host, skew)
skew_data[host] = skew