From eacd9375926e66180f535a83586e909e3cd8c36f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Mon, 10 Oct 2005 11:03:21 +0000 Subject: [PATCH] use staticmethod instead of decorators to be python 2.3 compatible... --- pisi/cli/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/cli/commands.py b/pisi/cli/commands.py index fb41efd9..e96af347 100644 --- a/pisi/cli/commands.py +++ b/pisi/cli/commands.py @@ -807,7 +807,6 @@ Finds the installed package which contains the specified file. self.parser.add_option("-l", "--long", action="store_true", default=False, help="show in long format") - @staticmethod def search_exact(path): if ctx.filesdb.has_file(path): (pkg_name, file_info) = ctx.filesdb.get_info(path) @@ -817,6 +816,7 @@ Finds the installed package which contains the specified file. file_info.hash) ) else: ctx.ui.error(_('Path %s does not belong to an installed package') % path) + search_exact = staticmethod(search_exact) def run(self):