diff options
author | Chris Lumens <clumens@redhat.com> | 2006-05-08 19:02:19 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-05-08 19:02:19 +0000 |
commit | d155184da0527bfbdf7a64186d737a74072c692a (patch) | |
tree | 10955786e28d7c1a8aeff8532bf25c882e380449 /installmethod.py | |
parent | 615dc6a0d129206fbee2f373b64f46a5909795fd (diff) | |
download | anaconda-d155184da0527bfbdf7a64186d737a74072c692a.tar.gz anaconda-d155184da0527bfbdf7a64186d737a74072c692a.tar.xz anaconda-d155184da0527bfbdf7a64186d737a74072c692a.zip |
Remove more old stuff.
Diffstat (limited to 'installmethod.py')
-rw-r--r-- | installmethod.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/installmethod.py b/installmethod.py index 648066e52..fcdc80519 100644 --- a/installmethod.py +++ b/installmethod.py @@ -24,25 +24,6 @@ class FileCopyException(Exception): class InstallMethod: - - # find best match from several locations for a file - def findBestFileMatch(self, file): - # look in /tmp/updates first - rc = None - tryloc = ["/tmp/updates"] - if self.tree is not None: - tryloc.append("%s/RHupdates" %(self.tree,)) - tryloc.append("%s/%s/base" % (self.tree, productPath)) - - for pre in tryloc: - tmpname = pre + "/" + file - if os.access(tmpname, os.R_OK): - log.info("Using file://%s", tmpname) - return "file://%s" %(tmpname,) - - log.error("Unable to find %s", file) - return None - def protectedPartitions(self): return None |