[yum-cvs] yum cli.py,1.227,1.228

Seth Vidal skvidal at linux.duke.edu
Tue Aug 22 04:34:28 UTC 2006


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

Modified Files:
	cli.py 
Log Message:

actually remove one entry I left in


Index: cli.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/cli.py,v
retrieving revision 1.227
retrieving revision 1.228
diff -u -r1.227 -r1.228
--- cli.py	22 Aug 2006 04:32:58 -0000	1.227
+++ cli.py	22 Aug 2006 04:34:26 -0000	1.228
@@ -34,7 +34,6 @@
 import yum.Errors
 import yum.misc
 import rpmUtils.arch
-from rpmUtils.miscutils import compareEVR
 from yum.packages import parsePackages, YumInstalledPackage, YumLocalPackage
 from yum import pgpmsg
 from yum import logginglevels
@@ -777,7 +776,6 @@
                 # go through each package 
                 if len(comparable) > 0:
                     for instpo in comparable:
-                        rc = compareEVR((e2, v2, r2), (pkg.epoch, pkg.version, pkg.release))
                         if pkg > instpo: # we're newer - this is an update, pass to them
                             if instpo.name in exactarchlist:
                                 if pkg.arch == instpo.arch:




More information about the Yum-cvs-commits mailing list