diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-07 22:45:26 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-07 22:45:26 +0000 |
commit | 964b12982b2078ee53bfa45026125703a2a31b7d (patch) | |
tree | 58be92c6592d95ea315f9c4a63153a6081661f0c /comps.py | |
parent | 0e6195f473604ee66f2df999e0432738319293e9 (diff) | |
download | anaconda-964b12982b2078ee53bfa45026125703a2a31b7d.tar.gz anaconda-964b12982b2078ee53bfa45026125703a2a31b7d.tar.xz anaconda-964b12982b2078ee53bfa45026125703a2a31b7d.zip |
fixes for alpha, fstab reading
Diffstat (limited to 'comps.py')
-rw-r--r-- | comps.py | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,6 +1,7 @@ import rpm from string import * import types +import iutil import urllib class Package: @@ -110,7 +111,8 @@ class ComponentSet: def keys(self): return self.compsDict.keys() - def readCompsFile(self, arch, filename, packages): + def readCompsFile(self, filename, packages): + arch = iutil.getArch () file = urllib.urlopen(filename) lines = file.readlines() @@ -184,7 +186,7 @@ class ComponentSet: return s - def __init__(self, arch, file, hdlist): + def __init__(self, file, hdlist): self.list = [] self.packages = hdlist - self.readCompsFile(arch, file, self.packages) + self.readCompsFile(file, self.packages) |