summaryrefslogtreecommitdiffstats
path: root/harddrive.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 /harddrive.py
parentdaaa63b02ea41b42cf080d586b53f9f1718b36bb (diff)
downloadanaconda-eb7f46b2b0cf077ba7ebde56e41821a52c4c9429.tar.gz
anaconda-eb7f46b2b0cf077ba7ebde56e41821a52c4c9429.tar.xz
anaconda-eb7f46b2b0cf077ba7ebde56e41821a52c4c9429.zip
Simplify findBestFileMatch
Diffstat (limited to 'harddrive.py')
-rw-r--r--harddrive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/harddrive.py b/harddrive.py
index 291754817..3e586a77d 100644
--- a/harddrive.py
+++ b/harddrive.py
@@ -101,7 +101,7 @@ class HardDriveInstallMethod(InstallMethod):
def readComps(self, hdlist):
self.mountMedia(1)
- fname = self.findBestFileMatch(self.tree, 'comps.xml')
+ fname = self.findBestFileMatch('comps.xml')
cs = groupSetFromCompsFile(fname, hdlist)
self.umountMedia()
return cs