[yum-git] 2 commits - yum/packages.py
Seth Vidal
skvidal at linux.duke.edu
Sat Mar 8 07:38:02 UTC 2008
yum/packages.py | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 1b89aa95a2111e80c248cd5925894131a2a740dc
Merge: d58ba76... 6ebd6bb...
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Sat Mar 8 02:36:01 2008 -0500
Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum
* 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum:
Fix includepkgs, patterns can't work here as we need 'not matched'
commit d58ba7609a9f601281895cada6adb776da937b4a
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Sat Mar 8 02:29:50 2008 -0500
make po.checksums work again for sqlite packages
make sure installedpo.checksum does something quasi-sensible - which in this case is raise NotImplementedError
diff --git a/yum/packages.py b/yum/packages.py
index b693896..392b794 100644
--- a/yum/packages.py
+++ b/yum/packages.py
@@ -615,6 +615,9 @@ class YumAvailablePackage(PackageObject, RpmBase):
"""return a list of requires in normal rpm format"""
return self.requires_print
+ def returnChecksums(self):
+ return [(self.checksum_type, self.pkgId, 1)]
+
def importFromDict(self, pkgdict):
"""handles an mdCache package dictionary item to populate out
the package information"""
@@ -836,6 +839,9 @@ class YumHeaderPackage(YumAvailablePackage):
self.hdr['changelogtext'])
return []
+ def returnChecksums(self):
+ raise NotImplementedError()
+
class _CountedReadFile:
""" Has just a read() method, and keeps a count so we can find out how much
has been read. Implemented so we can get the real size of the file from
More information about the Yum-cvs-commits
mailing list