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

Gijs Hollestelle gijs at login.linux.duke.edu
Fri Mar 4 11:36:47 UTC 2005


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

Modified Files:
	packageObject.py 
Log Message:
Applying a patch by Panu Matilainen to make the way to return Changelog 
information uniform for sqlite and non sqlite packages.



Index: packageObject.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/repomd/packageObject.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- packageObject.py	2 Mar 2005 12:03:13 -0000	1.10
+++ packageObject.py	4 Mar 2005 11:36:45 -0000	1.11
@@ -288,7 +288,10 @@
                         return 1
         return 0
         
-
+    def returnChangelog(self):
+        """return changelog entries"""
+        return self.changelog
+        
     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