---
 yum/yumRepo.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yum/yumRepo.py b/yum/yumRepo.py
index 3792087..e60fc20 100644
--- a/yum/yumRepo.py
+++ b/yum/yumRepo.py
@@ -926,7 +926,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,
-- 
1.7.4.4

_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to