[yum-cvs] yum/yum transactioninfo.py,1.21,1.22

Seth Vidal skvidal at login.linux.duke.edu
Thu Oct 27 05:34:05 UTC 2005


Update of /home/groups/yum/cvs/yum/yum
In directory login:/tmp/cvs-serv30392

Modified Files:
	transactioninfo.py 
Log Message:

when removing the package from the transaction set, make sure you unset the
state attribute.


Index: transactioninfo.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/transactioninfo.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- transactioninfo.py	27 Oct 2005 05:32:13 -0000	1.21
+++ transactioninfo.py	27 Oct 2005 05:34:02 -0000	1.22
@@ -130,6 +130,9 @@
         if not self.pkgdict.has_key(pkgtup):
             self.debugprint("Package: %s not in ts" %(pkgtup,))
             return
+        for txmbr in self.pkgdict[pkgtup]:
+            txmbr.po.state = None
+        
         del self.pkgdict[pkgtup]
     
     def exists(self, pkgtup):




More information about the Yum-cvs-commits mailing list