diff options
author | Matt Wilson <msw@redhat.com> | 2001-02-14 09:17:23 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-02-14 09:17:23 +0000 |
commit | db2b874a7afbe1b894e62341c54c16e08f30cce6 (patch) | |
tree | fc4f82c58b14d751cdf8e1161159724df724c116 /comps.py | |
parent | 74ee00ef3682c5f7c4dea13acf16a8c2bae84c23 (diff) | |
download | anaconda-db2b874a7afbe1b894e62341c54c16e08f30cce6.tar.gz anaconda-db2b874a7afbe1b894e62341c54c16e08f30cce6.tar.xz anaconda-db2b874a7afbe1b894e62341c54c16e08f30cce6.zip |
only care about the packages we are actually installing when checking the preorder...
Diffstat (limited to 'comps.py')
-rw-r--r-- | comps.py | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -123,11 +123,18 @@ class HeaderList: rpm.mergeHeaderListFromFD(self.hdlist, fd, 1000004) os.close(fd) + def preordered(self): + preordered = 1 + for h in self.selected(): + if h[1000003] == None: + preordered = 0 + return preordered + + def __init__(self, hdlist, compatPackages = None, noscore = 0): self.hdlist = hdlist self.packages = {} newCompat = [] - self.preordered = 1 for h in hdlist: if h[1000003] == None: self.preordered = 0 |