diff --git a/pisi/atomicoperations.py b/pisi/atomicoperations.py index 55b77a12..cc8962f6 100644 --- a/pisi/atomicoperations.py +++ b/pisi/atomicoperations.py @@ -120,7 +120,7 @@ class Install(AtomicOperation): txn.abort() raise e - ctx.ui.status() + ctx.ui.close() if self.upgrade: event = pisi.ui.upgraded else: @@ -436,7 +436,7 @@ class Remove(AtomicOperation): raise e self.remove_pisi_files() - ctx.ui.status() + ctx.ui.close() ctx.ui.notify(pisi.ui.removed, package = self.package, files = self.files) def check_dependencies(self): diff --git a/pisi/util.py b/pisi/util.py index d778708c..eb1d9383 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -184,9 +184,6 @@ def run_logged(cmd): # Terminal functions # ###################### -def has_xterm(): - return os.environ.has_key("TERM") and sys.stderr.isatty() - def xterm_title(message): """sets message as a console window's title""" if os.environ.has_key("TERM") and sys.stderr.isatty(): @@ -200,10 +197,8 @@ def xterm_title(message): def xterm_title_reset(): """resets console window's title""" if os.environ.has_key("TERM"): - terminalType = os.environ["TERM"] - xterm_title(os.environ["TERM"]) + xterm_title("") - ############################# # Path Processing Functions # #############################