[Yum-devel] [PATCH] Fix a typo in checkfunc. BZ 850550
Zdeněk Pavlas
zpavlas at redhat.com
Wed Aug 22 07:56:30 UTC 2012
---
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
More information about the Yum-devel
mailing list