[yum-commits] Branch 'yum-3_2_X' - yum/history.py
James Antill
james at osuosl.org
Fri Sep 10 14:13:10 UTC 2010
yum/history.py | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 46ed35f47f09d06b1ef0b4e44e5ec89e122bc4c6
Author: James Antill <james at and.org>
Date: Fri Sep 10 10:12:59 2010 -0400
Make history packages have a "<history>" repoid.
diff --git a/yum/history.py b/yum/history.py
index 014bdab..332a3e9 100644
--- a/yum/history.py
+++ b/yum/history.py
@@ -112,6 +112,9 @@ class YumHistoryPackage(PackageObject):
chk = checksum.split(':')
self._checksums = [(chk[0], chk[1], 0)] # (type, checksum, id(0,1))
+ self.repoid = '<history>'
+
+
class YumHistoryRpmdbProblem(PackageObject):
""" Class representing an rpmdb problem that existed at the time of the
transaction. """
More information about the Yum-commits
mailing list