[yum-cvs] yum output.py,1.72,1.72.2.1

Seth Vidal skvidal at linux.duke.edu
Mon Dec 4 10:22:56 UTC 2006


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

Modified Files:
      Tag: yum-3_0_X
	output.py 
Log Message:
get rid of deprecation warning

Index: output.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/output.py,v
retrieving revision 1.72
retrieving revision 1.72.2.1
diff -u -r1.72 -r1.72.2.1
--- output.py	8 Sep 2006 13:32:51 -0000	1.72
+++ output.py	4 Dec 2006 10:22:54 -0000	1.72.2.1
@@ -63,9 +63,8 @@
     def simpleList(self, pkg):
         ver = pkg.printVer()
         na = '%s.%s' % (pkg.name, pkg.arch)
-        repo = pkg.returnSimple('repoid')
         
-        print "%-40.40s %-22.22s %-16.16s" % (na, ver, repo)
+        print "%-40.40s %-22.22s %-16.16s" % (na, ver, pkg.repoid)
     
         
     def infoOutput(self, pkg):




More information about the Yum-cvs-commits mailing list