summaryrefslogtreecommitdiffstats
path: root/installmethod.py
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@redhat.com>2005-08-19 15:07:43 +0000
committerPaul Nasrat <pnasrat@redhat.com>2005-08-19 15:07:43 +0000
commit24c29f1a190fe8bae02c65a10593f8646d597af0 (patch)
tree3853f61e53c89bafde865f303329042bf4922cca /installmethod.py
parent54f1cc7461f7cafda6db84895919a1bab59f2f9b (diff)
downloadanaconda-24c29f1a190fe8bae02c65a10593f8646d597af0.tar.gz
anaconda-24c29f1a190fe8bae02c65a10593f8646d597af0.tar.xz
anaconda-24c29f1a190fe8bae02c65a10593f8646d597af0.zip
Remove legacy comps reading
Diffstat (limited to 'installmethod.py')
-rw-r--r--installmethod.py18
1 files changed, 1 insertions, 17 deletions
diff --git a/installmethod.py b/installmethod.py
index a02df6c1a..8efdc3b2c 100644
--- a/installmethod.py
+++ b/installmethod.py
@@ -47,24 +47,8 @@ class InstallMethod:
def protectedPartitions(self):
return None
- def readCompsViaMethod(self, hdlist):
- pass
-
def readComps(self, hdlist):
- # see if there is a comps in PYTHONPATH, otherwise fall thru
- # to method dependent location
- path = None
- if os.environ.has_key('PYTHONPATH'):
- for f in string.split(os.environ['PYTHONPATH'], ":"):
- if os.access (f+"/comps", os.X_OK):
- path = f+"/comps"
- break
-
- if path:
- return groupSetFromCompsFile(path, hdlist)
- else:
- return self.readCompsViaMethod(hdlist)
- pass
+ pass
def getTempPath(self):
root = self.rootPath