[yum-cvs] yum cli.py,1.165,1.166

Seth Vidal skvidal at login.linux.duke.edu
Tue Mar 8 09:17:14 UTC 2005


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

Modified Files:
	cli.py 
Log Message:

move callback return to better location - spews less crap pre-final-transaction

Index: cli.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/cli.py,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -r1.165 -r1.166
--- cli.py	7 Mar 2005 15:50:46 -0000	1.165
+++ cli.py	8 Mar 2005 09:17:12 -0000	1.166
@@ -694,8 +694,6 @@
         self.populateTs(keepold=0) # sigh
         tserrors = self.ts.test(testcb, conf=tsConf)
         del testcb
-        # put it back
-        self.dsCallback = dscb
         
         self.log(2, 'Finished Transaction Test')
         if len(tserrors) > 0:
@@ -711,7 +709,10 @@
         self.populateTs(keepold=0) # populate the ts
         self.ts.check() #required for ordering
         self.ts.order() # order
-        
+
+        # put back our depcheck callback
+        self.dsCallback = dscb
+
         output = 1
         if self.conf.debuglevel < 2:
             output = 0




More information about the Yum-cvs-commits mailing list