From b8ed6c8c095f93c2ad7764f8e577b27eea015da0 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Thu, 26 Apr 2007 09:03:06 +0000 Subject: [PATCH] there are two usages of util in this file util and pisi.util. Use one of them. --- pisi/cli/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pisi/cli/__init__.py b/pisi/cli/__init__.py index ee299225..f2b69f5f 100644 --- a/pisi/cli/__init__.py +++ b/pisi/cli/__init__.py @@ -21,7 +21,7 @@ _ = __trans.ugettext import pisi import pisi.context as ctx import pisi.ui -import pisi.util as util +import pisi.util import pisi.cli.colors as colors class Error(pisi.Error): @@ -49,7 +49,7 @@ class CLI(pisi.ui.UI): super(CLI, self).__init__(show_debug, show_verbose) def close(self): - util.xterm_title_reset() + pisi.util.xterm_title_reset() def output(self, msg, err = False, verbose = False): if (verbose and self.show_verbose) or (not verbose): @@ -142,7 +142,7 @@ class CLI(pisi.ui.UI): if msg: msg = unicode(msg) self.output(colors.colorize(msg + '\n', 'brightgreen')) - util.xterm_title(msg) + pisi.util.xterm_title(msg) def notify(self, event, **keywords): if event == pisi.ui.installed: