[yum-cvs] yum/repomd packageObject.py,1.9,1.10

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


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

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



Index: packageObject.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/repomd/packageObject.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- packageObject.py	6 Oct 2004 06:40:02 -0000	1.9
+++ packageObject.py	2 Mar 2005 12:03:13 -0000	1.10
@@ -74,7 +74,9 @@
         
         return                            
 
-
+    def returnChangelog(self):
+        """return changelog entries"""
+        return self.changelog
 
 class XMLPackageObject(PackageObject):
     """inherits from PackageObject, does the functions to parse an xml package format
@@ -286,7 +288,7 @@
                         return 1
         return 0
         
-        
+
     def returnFileEntries(self, ftype='file'):
         """return list of files based on type"""
         if self.files.has_key(ftype):




More information about the Yum-cvs-commits mailing list