From 5477c6bd01e5059198261fb2ae2d3f3d097f5782 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Fri, 24 Oct 2008 11:29:17 +0000 Subject: [PATCH] If a symbolic link file of a package is linked to a directory and is in your current working directory and you search that link file with sf, pisi sf returns wrong results... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Actually this should have been returning "Kör müsün Gökçen burda işte!"... but here is another fix for that. :) --- pisi/cli/searchfile.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pisi/cli/searchfile.py b/pisi/cli/searchfile.py index b594d157..79609dd1 100644 --- a/pisi/cli/searchfile.py +++ b/pisi/cli/searchfile.py @@ -63,7 +63,4 @@ Finds the installed package which contains the specified file. for path in self.args: if not ctx.config.options.quiet: ctx.ui.info(_('Searching for %s') % path) - import os.path - if os.path.exists(path): - path = os.path.realpath(path) self.search_file(path)