From 538086afb36c9b568a5d60138327fab0b70af740 Mon Sep 17 00:00:00 2001 From: "A. Murat Eren" Date: Mon, 6 Mar 2006 14:43:02 +0000 Subject: [PATCH] =?UTF-8?q?=20typo..=20bu=20tersten=20s=C4=B1ralamal=C4=B1?= =?UTF-8?q?..?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/build.py b/pisi/build.py index eb90d944..1c8ebb51 100644 --- a/pisi/build.py +++ b/pisi/build.py @@ -50,7 +50,7 @@ def get_file_type(path, pinfo_list, install_dir): list""" Match = lambda x: [match for match in glob.glob(install_dir + x) if join(install_dir, path).find(match) > -1] - Sort = lambda x: o(x.sort(), x) + Sort = lambda x: o(x.reverse(), x) o = lambda oo, o:o best_matched_path = Sort([pinfo.path for pinfo in pinfo_list if Match(pinfo.path)])[0]