Minor refactoring

This commit is contained in:
Miroslav Stampar
2012-07-11 19:54:21 +02:00
parent 53ccd09ca4
commit d7926b8aac
3 changed files with 22 additions and 24 deletions

View File

@@ -268,6 +268,17 @@ BASIC_HELP_ITEMS = (
"wizard"
)
COLOR_MAP = {
"CRITICAL": "white",
"ERROR": "red",
"WARNING": "yellow",
"INFO": "green",
"DEBUG": "blue",
"PAYLOAD": "magenta",
"TRAFFIC OUT": "cyan",
"TRAFFIC IN": "grey"
}
# string representation for NULL value
NULL = "NULL"