[yum-cvs] yum cli.py,1.254,1.255 yum-updatesd.py,1.36,1.37

Jeremy Katz katzj at linux.duke.edu
Wed Feb 14 22:08:32 UTC 2007


Update of /home/groups/yum/cvs/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv22080

Modified Files:
	cli.py yum-updatesd.py 
Log Message:
make it so that we see that the local rpm is present and then don't download
rather than requiring API callers to specify what to do


Index: cli.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/cli.py,v
retrieving revision 1.254
retrieving revision 1.255
diff -u -r1.254 -r1.255
--- cli.py	14 Feb 2007 20:41:36 -0000	1.254
+++ cli.py	14 Feb 2007 22:08:30 -0000	1.255
@@ -326,7 +326,7 @@
         # save our dsCallback out
         dscb = self.dsCallback
         self.dsCallback = None # dumb, dumb dumb dumb!
-        self.populateTs(keepold=0, noheaders=True) # sigh
+        self.populateTs(keepold=0) # sigh
         tserrors = self.ts.test(testcb, conf=tsConf)
         del testcb
         
@@ -347,7 +347,7 @@
         signal.signal(signal.SIGQUIT, signal.SIG_DFL)
         
         self.initActionTs() # make a new, blank ts to populate
-        self.populateTs(keepold=0, noheaders=True) # populate the ts
+        self.populateTs(keepold=0) # populate the ts
         self.ts.check() #required for ordering
         self.ts.order() # order
 

Index: yum-updatesd.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum-updatesd.py,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- yum-updatesd.py	14 Feb 2007 20:41:36 -0000	1.36
+++ yum-updatesd.py	14 Feb 2007 22:08:30 -0000	1.37
@@ -298,7 +298,7 @@
 
         del self.updd.ts
         self.updd.initActionTs() # make a new, blank ts to populate
-        self.updd.populateTs(keepold=0, noheaders=True)
+        self.updd.populateTs(keepold=0)
         self.updd.ts.check() #required for ordering
         self.updd.ts.order() # order
         cb = callback.RPMInstallCallback(output = 0)




More information about the Yum-cvs-commits mailing list