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:
e616602
)
Correct some indentation errors
author
Salim Fadhley
<sal@stodge.org>
Mon, 9 Jan 2012 18:05:09 +0000
(18:05 +0000)
committer
Salim Fadhley
<sal@stodge.org>
Mon, 9 Jan 2012 18:05:09 +0000
(18:05 +0000)
jenkinsapi/artifact.py
patch
|
blob
|
history
diff --git
a/jenkinsapi/artifact.py
b/jenkinsapi/artifact.py
index cca60afa36ac8a6fd542ed0453137b998d8239bd..275109fa89b333729c969c7f7b3a78be751bf434 100644
(file)
--- a/
jenkinsapi/artifact.py
+++ b/
jenkinsapi/artifact.py
@@
-47,7
+47,7
@@
class Artifact(object):
return filename
def _do_download(self, fspath):
- filename,
headers
= urllib.urlretrieve(self.url, filename=fspath)
+ filename,
_
= urllib.urlretrieve(self.url, filename=fspath)
return filename
def _verify_download(self, fspath):
@@
-60,7
+60,7
@@
class Artifact(object):
try:
with open(fspath,'rb') as f:
for chunk in iter(lambda: f.read(chunksize), ''):
-
md5.update(chunk)
+ md5.update(chunk)
except:
raise
return md5.hexdigest()