mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-01 12:56:54 +08:00
Use enabled/disabled
This commit is contained in:
parent
6b4790bade
commit
295e0a5aed
@ -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()
|
||||
#------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user