From eb7f46b2b0cf077ba7ebde56e41821a52c4c9429 Mon Sep 17 00:00:00 2001 From: Paul Nasrat Date: Fri, 19 Aug 2005 17:01:34 +0000 Subject: Simplify findBestFileMatch --- image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'image.py') 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) -- cgit