Use enabled/disabled

This commit is contained in:
Jonathan Frederic 2016-03-01 10:02:37 -08:00
parent 6b4790bade
commit 295e0a5aed

View File

@ -35,8 +35,8 @@ from tornado.log import LogFormatter
# Constants for pretty print extension listing function.
# Window doesn't support coloring in the commandline
GREEN_ENABLED = '\033[32m+\033[0m' if os.name != 'nt' else '+'
RED_DISABLED = '\033[31m-\033[0m' if os.name != 'nt' else '-'
GREEN_ENABLED = '\033[32m enabled \033[0m' if os.name != 'nt' else 'enabled '
RED_DISABLED = '\033[31mdisabled\033[0m' if os.name != 'nt' else 'disabled'
DEPRECATED_ARGUMENT = object()
#------------------------------------------------------------------------------