[yum-cvs] yum output.py,1.47,1.48

Gijs Hollestelle gijs at login.linux.duke.edu
Wed Mar 2 12:03:15 UTC 2005


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

Modified Files:
	output.py 
Log Message:
Fixes in Changelog handling code, mostly contributed by Panu Matilainen.



Index: output.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/output.py,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- output.py	25 Feb 2005 19:30:23 -0000	1.47
+++ output.py	2 Mar 2005 12:03:13 -0000	1.48
@@ -208,12 +208,7 @@
         # build up changelog
         changelog = ''
         cnt = 0
-        # For sqlite caches not all changelogs are loaded automaticly
-        # If there is no changelog and there is a function loadChangelog
-        # call it, to load the changelog
-        if (pkg.changelog == None) and (hasattr(pkg,'loadChangelog')):
-            pkg.loadChangelog()
-        for e in pkg.changelog:
+        for e in pkg.returnChangelog():
             cnt += 1
             if cnt > 3: 
                 changelog += '...'




More information about the Yum-cvs-commits mailing list