Permalink
Browse files

Bug 825136 - Extra --tries passed with DownloadFile. r=bhearsum

  • Loading branch information...
1 parent 356a02d commit 405232f0adc4dcfa1938a7632d6d136b4234ac04 Edmund Wong committed Dec 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 steps/misc.py
View
@@ -171,7 +171,7 @@ def __init__(self, url_fn=None, url=None, url_property=None, filename_property=N
assert bool(self.url) ^ bool(self.url_fn), \
"One of url_fn or url must be set, not both (%s %s)"
if wget_args:
- self.wget_args = wget_args
+ self.wget_args = wget_args[:]
else:
self.wget_args = ['--progress=dot:mega']
self.wget_args += ["--tries=%d" % self.retries, "--waitretry=%d" % self.waitRetry]

0 comments on commit 405232f

Please sign in to comment.