summaryrefslogtreecommitdiffstats
path: root/urlinstall.py
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@redhat.com>2005-08-19 17:01:34 +0000
committerPaul Nasrat <pnasrat@redhat.com>2005-08-19 17:01:34 +0000
commiteb7f46b2b0cf077ba7ebde56e41821a52c4c9429 (patch)
treec552d6dfc09867f270725f86ff997cff3fc1cd99 /urlinstall.py
parentdaaa63b02ea41b42cf080d586b53f9f1718b36bb (diff)
downloadanaconda-eb7f46b2b0cf077ba7ebde56e41821a52c4c9429.tar.gz
anaconda-eb7f46b2b0cf077ba7ebde56e41821a52c4c9429.tar.xz
anaconda-eb7f46b2b0cf077ba7ebde56e41821a52c4c9429.zip
Simplify findBestFileMatch
Diffstat (limited to 'urlinstall.py')
-rw-r--r--urlinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/urlinstall.py b/urlinstall.py
index e955ceb14..92fd34f00 100644
--- a/urlinstall.py
+++ b/urlinstall.py
@@ -81,7 +81,7 @@ def urlretrieve(location, file, callback=None):
class UrlInstallMethod(InstallMethod):
def readComps(self, hdlist):
- fname = self.findBestFileMatch(None, 'comps.xml')
+ fname = self.findBestFileMatch('comps.xml')
# if not local then assume its on host
if fname is None:
fname = '%s/%s/base/comps.xml' % (self.baseUrl, productPath)