From c2b2beee106d35dd680e4f0fe6ffcef1e3760a18 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@cd1c1023-2f26-0410-ae45-c471fc1f0318> Date: Mon, 28 Jan 2008 10:56:33 +0000 Subject: [PATCH] some work on the printing functions git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1108 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- libraries/outputTools.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/outputTools.py b/libraries/outputTools.py index b31599713..445344b27 100644 --- a/libraries/outputTools.py +++ b/libraries/outputTools.py @@ -244,6 +244,8 @@ def print_error(msg, back = False): writechar("\r"+red(">>")+" "+msg) return setcols() + reset_cursor() + writechar("\r") print darkred(">>")+" "+msg def print_info(msg, back = False): @@ -254,6 +256,7 @@ def print_info(msg, back = False): writechar("\r"+green(">>")+" "+msg) return setcols() + reset_cursor() writechar("\r") print green(">>")+" "+msg @@ -265,6 +268,7 @@ def print_warning(msg, back = False): writechar("\r"+red(">>")+" "+msg) return setcols() + reset_cursor() writechar("\r") print red(">>")+" "+msg