From: Hugh Brown Date: Thu, 10 Oct 2013 23:07:13 +0000 (-0400) Subject: Use longer variable name X-Git-Tag: v0.2.23~92^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=79ccc7a443879f2e6ca57823f092f7c194b5bc33;p=tools%2Fpython-jenkinsapi.git Use longer variable name --- diff --git a/jenkinsapi/fingerprint.py b/jenkinsapi/fingerprint.py index b023f2c..050dd08 100644 --- a/jenkinsapi/fingerprint.py +++ b/jenkinsapi/fingerprint.py @@ -45,12 +45,12 @@ class Fingerprint(JenkinsBase): try: self.poll() self.unknown = False - except urllib2.HTTPError, e: + except urllib2.HTTPError as err: # We can't really say anything about the validity of # fingerprints not found -- but the artifact can still # exist, so it is not possible to definitely say they are # valid or not. - if e.code == 404: + if err.code == 404: self.unknown = True return True