diff options
-rw-r--r-- | cloudinit/url_helper.py | 2 |
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 |