diff options
author | Erik Troan <ewt@redhat.com> | 2001-02-10 00:44:59 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2001-02-10 00:44:59 +0000 |
commit | 5cfc4859f52f9aec1a94919f251bf6032e3be534 (patch) | |
tree | 2abc3b38f8c8f9cfcfd0ba62a10d2d1c534ade44 /comps.py | |
parent | a2d421d00db7b203e6a4ce79475c3ae51a772684 (diff) | |
download | anaconda-5cfc4859f52f9aec1a94919f251bf6032e3be534.tar.gz anaconda-5cfc4859f52f9aec1a94919f251bf6032e3be534.tar.xz anaconda-5cfc4859f52f9aec1a94919f251bf6032e3be534.zip |
use two part header lists
Diffstat (limited to 'comps.py')
-rw-r--r-- | comps.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -118,6 +118,11 @@ class HeaderList: def list(self): return self.packages.values() + def mergeFullHeaders(self, file): + fd = os.open(file, os.O_RDONLY) + rpm.mergeHeaderListFromFD(self.hdlist, fd, 1000004) + os.close(fd) + def __init__(self, hdlist, compatPackages = None, noscore = 0): self.hdlist = hdlist self.packages = {} |