[yum-git] 2 commits - yum/__init__.py
James Antill
james at linux.duke.edu
Sat Feb 2 19:22:27 UTC 2008
yum/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e0241142d65f6a63a3ab26275554247a340d9816
Author: James Antill <james at and.org>
Date: Sat Feb 2 14:21:54 2008 -0500
Get the txmbr so we can use it
diff --git a/yum/__init__.py b/yum/__init__.py
index 906233e..fc949b7 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -2414,7 +2414,7 @@ class YumBase(depsolve.Depsolve):
self.verbose_logger.log(logginglevels.INFO_2,
_('Marking %s as an update to %s'), po.localpath, oldpo)
self.localPackages.append(po)
- self.tsInfo.addUpdate(po, oldpo)
+ txmbr = self.tsInfo.addUpdate(po, oldpo)
tx_return.append(txmbr)
for po in donothingpkgs:
commit 94b17130e0386c0078ad522d4387625c84a03df5
Author: James Antill <james at and.org>
Date: Sat Feb 2 14:20:18 2008 -0500
Another cli to __init__ move fix
diff --git a/yum/__init__.py b/yum/__init__.py
index 2287be5..906233e 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -2358,7 +2358,7 @@ class YumBase(depsolve.Depsolve):
if not po:
try:
po = YumLocalPackage(ts=self.rpmdb.readOnlyTS(), filename=pkg)
- except yum.Errors.MiscError:
+ except Errors.MiscError:
self.logger.critical(_('Cannot open file: %s. Skipping.'), pkg)
return tx_return
self.verbose_logger.log(logginglevels.INFO_2,
More information about the Yum-cvs-commits
mailing list