summaryrefslogtreecommitdiffstats
path: root/image.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 /image.py
parentdaaa63b02ea41b42cf080d586b53f9f1718b36bb (diff)
downloadanaconda-eb7f46b2b0cf077ba7ebde56e41821a52c4c9429.tar.gz
anaconda-eb7f46b2b0cf077ba7ebde56e41821a52c4c9429.tar.xz
anaconda-eb7f46b2b0cf077ba7ebde56e41821a52c4c9429.zip
Simplify findBestFileMatch
Diffstat (limited to 'image.py')
-rw-r--r--image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.py b/image.py
index 580b6ca5b..ad126083a 100644
--- a/image.py
+++ b/image.py
@@ -102,7 +102,7 @@ def presentRequiredMediaMessage(intf, grpset):
class ImageInstallMethod(InstallMethod):
def readComps(self, hdlist):
- fname = self.findBestFileMatch(self.tree, 'comps.xml')
+ fname = self.findBestFileMatch('comps.xml')
if fname is None:
raise FileCopyException
return groupSetFromCompsFile(fname, hdlist)