From a5093ca314bedb6fdee93a984d34c2371f874f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Mon, 10 Oct 2005 00:33:35 +0000 Subject: [PATCH] get rid of comard, we call it comar from now on. --- pisi/context.py | 2 +- pisi/install.py | 2 -- pisi/operations.py | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pisi/context.py b/pisi/context.py index 1eef4fe8..0a2f1b9f 100644 --- a/pisi/context.py +++ b/pisi/context.py @@ -29,7 +29,7 @@ ui = None # not now installdb = None repodb = None -comard = None +comar = None #def register(_impl): # """ Register a UI implementation""" diff --git a/pisi/install.py b/pisi/install.py index 710300e6..98101529 100644 --- a/pisi/install.py +++ b/pisi/install.py @@ -186,8 +186,6 @@ class Installer: def register_comar_scripts(self): "register COMAR scripts" - com = ctx.comard - for pcomar in self.metadata.package.providesComar: scriptPath = os.path.join(self.package.comar_dir(),pcomar.script) import pisi.comariface diff --git a/pisi/operations.py b/pisi/operations.py index af5f1dd0..a9bf3a4d 100644 --- a/pisi/operations.py +++ b/pisi/operations.py @@ -46,7 +46,7 @@ def remove_file(fileinfo): ctx.ui.warning(_('Not removing non-file, non-link %s') % fpath) def run_preremove(package_name): - if ctx.comard: + if ctx.comar: import pisi.comariface as comariface comariface.run_preremove(package_name) else: