testing new line clean method
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@799 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -235,7 +235,7 @@ def print_error(msg, back = False):
|
||||
_lastline = msg
|
||||
else:
|
||||
return
|
||||
writechar("\r"+_cleanline+"\r")
|
||||
writechar("\r"+_lastline.rstrip()+"\r")
|
||||
writechar("\r"+red(">>")+" "+msg)
|
||||
return
|
||||
writechar("\r"+_cleanline+"\r")
|
||||
@@ -248,7 +248,8 @@ def print_info(msg, back = False):
|
||||
_lastline = msg
|
||||
else:
|
||||
return
|
||||
writechar("\r"+_cleanline+"\r")
|
||||
|
||||
writechar("\r"+_lastline.rstrip()+"\r")
|
||||
writechar("\r"+green(">>")+" "+msg)
|
||||
return
|
||||
writechar("\r"+_cleanline+"\r")
|
||||
|
||||
Reference in New Issue
Block a user