projects
/
tools
/
python-jenkinsapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e7fdf0
)
Use longer variable name
author
Hugh Brown
<hbrown@amplify.com>
Thu, 10 Oct 2013 23:07:13 +0000
(19:07 -0400)
committer
Hugh Brown
<hbrown@amplify.com>
Thu, 10 Oct 2013 23:32:14 +0000
(19:32 -0400)
jenkinsapi/fingerprint.py
patch
|
blob
|
history
diff --git
a/jenkinsapi/fingerprint.py
b/jenkinsapi/fingerprint.py
index b023f2c262fba72b2a20c36332c3b9f7bcc25ed1..050dd081e144242cc2c56b84336d26a19a1389e1 100644
(file)
--- 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 e
rr
.code == 404:
self.unknown = True
return True