summaryrefslogtreecommitdiffstats
path: root/comps.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-01-17 23:45:41 +0000
committerMatt Wilson <msw@redhat.com>2001-01-17 23:45:41 +0000
commit6266bd8f5aa4c98b68e77587775bbecc0bcfcff0 (patch)
treeb843b94c290f69a6be85b2552576a9c2016046eb /comps.py
parent97fc8bf1dc91f7a68350b2680f1a4daa89c7efcd (diff)
downloadanaconda-6266bd8f5aa4c98b68e77587775bbecc0bcfcff0.tar.gz
anaconda-6266bd8f5aa4c98b68e77587775bbecc0bcfcff0.tar.xz
anaconda-6266bd8f5aa4c98b68e77587775bbecc0bcfcff0.zip
check for preordering
Diffstat (limited to 'comps.py')
-rw-r--r--comps.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/comps.py b/comps.py
index 4bca0e7fe..37d1bfc0f 100644
--- a/comps.py
+++ b/comps.py
@@ -116,7 +116,10 @@ class HeaderList:
self.hdlist = hdlist
self.packages = {}
newCompat = []
+ self.preordered = 1
for h in hdlist:
+ if h[1000003] == None:
+ self.preordered = 0
name = h[rpm.RPMTAG_NAME]
if noscore:
self.packages[name] = Package(h)