[yum-cvs] yum-utils/plugins/skip-broken skip-broken.py,1.4,1.5

Tim Lauridsen timlau at linux.duke.edu
Thu Mar 1 19:51:45 UTC 2007


Update of /home/groups/yum/cvs/yum-utils/plugins/skip-broken
In directory login1.linux.duke.edu:/tmp/cvs-serv16251/plugins/skip-broken

Modified Files:
	skip-broken.py 
Log Message:
remove special hack to work with current api, they are not nesesary any more.

Index: skip-broken.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/plugins/skip-broken/skip-broken.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- skip-broken.py	1 Mar 2007 18:26:15 -0000	1.4
+++ skip-broken.py	1 Mar 2007 19:51:43 -0000	1.5
@@ -38,13 +38,8 @@
         '''Clear the current tsInfo Transaction Set'''
         # clear current tsInfo, we want a empty one.
         del self.base.tsInfo
-        # if yum < 3.1.3, we have setup a new tsInfo
-        # FIXME: This should be something like:
-        # if yum.__version__ < '3.1.3':
-        # but we have to wait to yum cvs head version is bumped.
-        if not hasattr(self.base,'_tsInfo'):
-            self.base.tsInfo = self._transactionDataFactory()
-            self.base.initActionTs()
+        self.base.tsInfo = self.base._transactionDataFactory()
+        self.base.initActionTs()
 
     def preDepCheck(self):
         '''




More information about the Yum-cvs-commits mailing list