projects
/
tools
/
gbs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3585fb0
)
Unify color of debug message in gbs, gbp and depanneur.
author
Huang Hao
<hao.h.huang@intel.com>
Fri, 12 Oct 2012 09:10:49 +0000
(17:10 +0800)
committer
Huang Hao
<hao.h.huang@intel.com>
Fri, 12 Oct 2012 09:12:20 +0000
(17:12 +0800)
Fix #450.
Change-Id: Ifdd796f6b4747e0a8903f41be24f1ee9af0cf3ed
gitbuildsys/msger.py
patch
|
blob
|
history
diff --git
a/gitbuildsys/msger.py
b/gitbuildsys/msger.py
index 440a2a7d9409aeb449e2e82e6a37dbc5196a55cc..3728a8d16eed2828e80cf6e55b27246e000362ba 100644
(file)
--- a/
gitbuildsys/msger.py
+++ b/
gitbuildsys/msger.py
@@
-44,6
+44,7
@@
INFO_COLOR = 32 # green
WARN_COLOR = 33 # yellow
ERR_COLOR = 31 # red
ASK_COLOR = 34 # blue
+DEBUG_COLOR = 35 # Magenta
NO_COLOR = 0
# save the timezone info at import time
@@
-307,7
+308,7
@@
def warning(msg):
def debug(msg):
head, msg = _split_msg('debug', msg)
- _color_perror(head,
ERR
_COLOR, msg, level = 'debug')
+ _color_perror(head,
DEBUG
_COLOR, msg, level = 'debug')
def error(msg):
head, msg = _split_msg('error', msg)