diff options
author | Paul Nasrat <pnasrat@redhat.com> | 2005-08-19 17:01:34 +0000 |
---|---|---|
committer | Paul Nasrat <pnasrat@redhat.com> | 2005-08-19 17:01:34 +0000 |
commit | eb7f46b2b0cf077ba7ebde56e41821a52c4c9429 (patch) | |
tree | c552d6dfc09867f270725f86ff997cff3fc1cd99 /urlinstall.py | |
parent | daaa63b02ea41b42cf080d586b53f9f1718b36bb (diff) | |
download | anaconda-eb7f46b2b0cf077ba7ebde56e41821a52c4c9429.tar.gz anaconda-eb7f46b2b0cf077ba7ebde56e41821a52c4c9429.tar.xz anaconda-eb7f46b2b0cf077ba7ebde56e41821a52c4c9429.zip |
Simplify findBestFileMatch
Diffstat (limited to 'urlinstall.py')
-rw-r--r-- | urlinstall.py | 2 |
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) |