[yum-commits] Branch 'yum-3_2_X' - yum/__init__.py

skvidal at osuosl.org skvidal at osuosl.org
Tue Apr 21 15:49:30 UTC 2009


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

New commits:
commit 1ed2b73a8fff4efdb14cc0079a6a1f19f76f9a9c
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Tue Apr 21 11:45:04 2009 -0400

    make sure when we localinstall/localupdate that we pass updates to YumBase.update()
    so all of our logic in there can protect us from multiple ver of pkgs
    being added as updates when someone does an update /*.rpm
    closes rhbug: 496781

diff --git a/yum/__init__.py b/yum/__init__.py
index e33ab06..10955af 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -3095,7 +3095,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)
-            txmbr = self.tsInfo.addUpdate(po, oldpo)
+            txmbr = self.update(po=po)
             tx_return.append(txmbr)
 
         for po in donothingpkgs:


More information about the Yum-commits mailing list