summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-04-01 18:35:49 +0000
committerJeremy Katz <katzj@redhat.com>2004-04-01 18:35:49 +0000
commit755d60fce15ffe3e8a2e4a57d1c50a4e668ff98e (patch)
tree3b6ef2c229a8159d9f5af765855d42039d35343a
parentea05bca61bc388328fa879b953b325f66747d3a6 (diff)
erm, use the right thing
-rw-r--r--hdrlist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hdrlist.py b/hdrlist.py
index 7f75bbea4..d508d512c 100644
--- a/hdrlist.py
+++ b/hdrlist.py
@@ -339,7 +339,7 @@ class HeaderList:
for h in self.pkgs.values():
if h.isSelected() and h[1000003] == None:
preordered = 0
- if h.isSelected() and not h.hdr.has_key(1000003):
+ if h.isSelected() and not 1000003 in h.hdr.keys():
preordered = 0
return preordered