[yum-git] Branch 'yum-3_2_X' - yum/__init__.py
Seth Vidal
skvidal at linux.duke.edu
Fri Jun 13 21:09:18 UTC 2008
yum/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8cdd213b5761be1cb41b28e3409e7055f04f0a7a
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Fri Jun 13 17:08:44 2008 -0400
make the logging call correct for 3.2.X
diff --git a/yum/__init__.py b/yum/__init__.py
index 1fe5378..3fcfebd 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -2540,7 +2540,7 @@ class YumBase(depsolve.Depsolve):
# FIXME -our archlist should be stored somewhere so we don't have to
# do this: but it's not a config file sort of thing
if po.arch not in rpmUtils.arch.getArchList():
- critical(_('Cannot add package %s to transaction. Not a compatible architecture: %s'), pkg, po.arch)
+ self.logger.critical(_('Cannot add package %s to transaction. Not a compatible architecture: %s'), pkg, po.arch)
return result
# everything installed that matches the name
More information about the Yum-cvs-commits
mailing list