diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-04-15 17:43:07 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-04-15 17:43:07 +0000 |
commit | 62685d888b0ce0e5f3a23f8a6ace47ff131a86e7 (patch) | |
tree | 26860c074b945f2622b288acc22d61ac6e57fa97 /image.py | |
parent | 93a20d6f1174d130cb4b5645c5a1889996289073 (diff) | |
download | anaconda-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 'image.py')
-rw-r--r-- | image.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -179,7 +179,7 @@ class CdromInstallMethod(ImageInstallMethod): return self.tree + "/" + filename def getRPMFilename(self, h, timer, callback=None): - if h[1000002] == None: + if h[1000002] == None or 1000002 not in h.keys(): log ("header for %s has no disc location tag, assuming it's" "on the current CD" %(h[1000000],)) elif h[1000002] not in self.currentDisc: @@ -482,7 +482,7 @@ class NfsIsoInstallMethod(NfsInstallMethod): # Make sure all of the correct CD images are available missing_images = [] for h in hl.values(): - if h[1000002] is None: + if h[1000002] is None or 1000002 not in h.keys(): continue if not self.discImages.has_key(h[1000002]): |