[yum-cvs] yum output.py,1.63,1.64
Seth Vidal
skvidal at login.linux.duke.edu
Thu Dec 8 08:00:38 UTC 2005
Update of /home/groups/yum/cvs/yum
In directory login:/tmp/cvs-serv3873
Modified Files:
output.py
Log Message:
- store relationships in the transaction members a bit more sanely - still
supporting the older style (relatedto) style for now
- make it work in output.py
Index: output.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/output.py,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- output.py 3 Dec 2005 17:12:39 -0000 1.63
+++ output.py 8 Dec 2005 08:00:36 -0000 1.64
@@ -258,11 +258,10 @@
size = self.format_number(pkgsize)
msg = " %-22s %-9s %-15s %-16s %5s\n" % (n, a,
evr, repoid, size)
- for (obspo, relationship) in txmbr.relatedto:
- if relationship == 'obsoletes':
- appended = ' replacing %s.%s %s\n\n' % (obspo.name,
- obspo.arch, obspo.printVer())
- msg = msg+appended
+ for obspo in txmbr.obsoletes:
+ appended = ' replacing %s.%s %s\n\n' % (obspo.name,
+ obspo.arch, obspo.printVer())
+ msg = msg+appended
totalmsg = totalmsg + msg
if pkglist:
More information about the Yum-cvs-commits
mailing list