[yum-cvs] yum/yum packages.py,1.87,1.88
Jeremy Katz
katzj at linux.duke.edu
Mon Feb 12 22:16:55 UTC 2007
Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv10791/yum
Modified Files:
packages.py
Log Message:
whitespace so there's a commit message for this...
* if there's not a sha1header in the package (ie, it was built with old old rpm)
then we should still have _something_ for the pkgid. use the md5 for now
Index: packages.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/packages.py,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- packages.py 12 Feb 2007 22:14:20 -0000 1.87
+++ packages.py 12 Feb 2007 22:16:53 -0000 1.88
@@ -600,7 +600,8 @@
self.rel = self.release
self.summary = self.hdr['summary']
self.description = self.hdr['description']
- self.pkgid = self.hdr[rpm.RPMTAG_SHA1HEADER] or self.hdr[rpm.RPMTAG_SIGMD5]
+ self.pkgid = self.hdr[rpm.RPMTAG_SHA1HEADER] or \
+ self.hdr[rpm.RPMTAG_SIGMD5]
self.packagesize = self.hdr['size']
self.__mode_cache = {}
self.__prcoPopulated = False
More information about the Yum-cvs-commits
mailing list