changeset 26:d0c00ef2b917

removed color from copy failed error message
author Goffi <goffi@goffi.org>
date Thu, 30 Sep 2010 16:27:28 +0800
parents f82731c70956
children 95f16ff36308
files gcp
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/gcp	Thu Sep 30 16:18:45 2010 +0800
+++ b/gcp	Thu Sep 30 16:27:28 2010 +0800
@@ -76,10 +76,6 @@
 const_JOURNAL_PATH = const_FILES_DIR + "/journal"
 const_SAVED_LIST = const_FILES_DIR + "/saved_list"
 
-COLOR_RED = "\033[00;31m"
-COLOR_END = '\033[0m'
-
-
 
 
 class DbusObject(dbus.service.Object):
@@ -166,8 +162,8 @@
             partial.discard(entry)
 
         if failed:
-            error(_(COLOR_RED+"/!\\ THE FOLLOWING FILES WERE NOT SUCCESSFULY COPIED:" + COLOR_END))
-            #TODO: use logging capability to print all error message in read instead of COLOR_RED
+            error(_("/!\\ THE FOLLOWING FILES WERE *NOT* SUCCESSFULY COPIED:"))
+            #TODO: use logging capability to print all error message in red
             for entry in failed:
                 info("\t- %s" % entry)
             info ('--\n')