[yum-commits] Branch 'yum-3_2_X' - yum/packages.py
James Antill
james at osuosl.org
Wed May 13 20:24:06 UTC 2009
yum/packages.py | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit f06d073980b408cafe8047dc2a655ce711873b5a
Author: James Antill <james at and.org>
Date: Wed May 13 16:23:17 2009 -0400
Don't checksum local pkg data
diff --git a/yum/packages.py b/yum/packages.py
index 48cee27..4178d71 100644
--- a/yum/packages.py
+++ b/yum/packages.py
@@ -1595,6 +1595,10 @@ class YumLocalPackage(YumHeaderPackage):
self._do_checksum()
return self._checksums
+ def verifyLocalPkg(self):
+ """ don't bother "checking" the package matches itself. """
+ return True
+
def _get_header_byte_range(self):
"""takes an rpm file or fileobject and returns byteranges for location of the header"""
if self._hdrstart and self._hdrend:
More information about the Yum-commits
mailing list