[yum-commits] yum/__init__.py
zpavlas at osuosl.org
zpavlas at osuosl.org
Wed Jun 12 08:48:13 UTC 2013
yum/__init__.py | 1 +
1 file changed, 1 insertion(+)
New commits:
commit d4b44ace9dd52ab892e64b639b419a74fee00962
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date: Wed Jun 12 10:47:25 2013 +0200
downloadonly: prefetch pkg checksums. BZ 973380
Yum prefetches pkg checksums before calling downloadPkgs(),
but other users (eg yumdownloader) do not. Make sure it gets
cached.
diff --git a/yum/__init__.py b/yum/__init__.py
index a4b14c0..08792f4 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -2283,6 +2283,7 @@ much more problems).
po.localpath += '.%d.tmp' % os.getpid()
try: os.rename(local, po.localpath)
except OSError: pass
+ po.returnIdSum()
po.basepath # prefetch now; fails when repos are closed
return False
More information about the Yum-commits
mailing list