summaryrefslogtreecommitdiffstats
path: root/hdrlist.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-04-15 17:43:07 +0000
committerJeremy Katz <katzj@redhat.com>2004-04-15 17:43:07 +0000
commit62685d888b0ce0e5f3a23f8a6ace47ff131a86e7 (patch)
tree26860c074b945f2622b288acc22d61ac6e57fa97 /hdrlist.py
parent93a20d6f1174d130cb4b5645c5a1889996289073 (diff)
downloadanaconda-62685d888b0ce0e5f3a23f8a6ace47ff131a86e7.tar.gz
anaconda-62685d888b0ce0e5f3a23f8a6ace47ff131a86e7.tar.xz
anaconda-62685d888b0ce0e5f3a23f8a6ace47ff131a86e7.zip
more adjustments for RPM API changes. this should fix the problems people
have seen with making dvds from rawhide (which doesn't have disc # info)
Diffstat (limited to 'hdrlist.py')
-rw-r--r--hdrlist.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/hdrlist.py b/hdrlist.py
index d508d512c..21d70a8da 100644
--- a/hdrlist.py
+++ b/hdrlist.py
@@ -278,6 +278,9 @@ class Package:
def __getitem__(self, item):
return self.hdr[item]
+ def keys(self):
+ return self.hdr.keys()
+
def __repr__(self):
return "%s" %(self.nevra(),)