[yum-commits] Branch 'multi-downloader' - yum/__init__.py
zpavlas at osuosl.org
zpavlas at osuosl.org
Thu Jan 26 15:53:52 UTC 2012
yum/__init__.py | 1 +
1 file changed, 1 insertion(+)
New commits:
commit efc754aaefe5a02b51353d7e49f5749a2487a6d2
Author: ZdenÄk Pavlas <zpavlas at redhat.com>
Date: Thu Jan 26 16:25:27 2012 +0100
enable timedhosts
diff --git a/yum/__init__.py b/yum/__init__.py
index 3c2f375..162d66e 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -363,6 +363,7 @@ class YumBase(depsolve.Depsolve):
# update urlgrabber defaults
mc = self._conf.max_connections
if mc > 0: default_grabber.opts.max_connections = mc
+ default_grabber.opts.timedhosts = self._conf.cachedir + '/timedhosts'
# We don't want people accessing/altering preconf after it becomes
# worthless. So we delete it, and thus. it'll raise AttributeError
More information about the Yum-commits
mailing list