[yum-commits] yum/yumRepo.py

zpavlas at osuosl.org zpavlas at osuosl.org
Wed Aug 22 08:43:17 UTC 2012


 yum/yumRepo.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6735420ff0f8df49d9634dee575c15ff0ea616f3
Author: Zdeněk Pavlas <zpavlas at redhat.com>
Date:   Wed Aug 22 09:55:38 2012 +0200

    Fix a typo in checkfunc. BZ 850550

diff --git a/yum/yumRepo.py b/yum/yumRepo.py
index f831f23..9ca7ae5 100644
--- a/yum/yumRepo.py
+++ b/yum/yumRepo.py
@@ -929,7 +929,7 @@ Insufficient space in download directory %s
             misc.unlink_f(local)
 
         if checkfunc is None:
-            checkfunc = (package.verifyLocalPkg, (), {})
+            checkfunc = lambda obj: package.verifyLocalPkg()
 
         ret = self._getFile(url=basepath,
                         relative=remote,


More information about the Yum-commits mailing list