[yum-commits] urlgrabber/grabber.py
zpavlas at osuosl.org
zpavlas at osuosl.org
Wed Aug 22 09:22:49 UTC 2012
urlgrabber/grabber.py | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 1be1908755766b8359eb0d08afd1219cabb173b5
Author: ZdenÄk Pavlas <zpavlas at redhat.com>
Date: Wed Aug 22 11:17:27 2012 +0200
MirrorGroup: do not modify default_action
diff --git a/urlgrabber/grabber.py b/urlgrabber/grabber.py
index ee39c11..87d8b59 100644
--- a/urlgrabber/grabber.py
+++ b/urlgrabber/grabber.py
@@ -2205,6 +2205,7 @@ def parallel_wait(meter=None):
action = mg.default_action or {}
if mg.failure_callback:
opts.tries = sum(failed.values())
+ action = dict(action) # update only the copy
action.update(_run_callback(mg.failure_callback, opts))
if not action.get('fail', 0):
# mask this mirror and retry
More information about the Yum-commits
mailing list