File tree Expand file tree Collapse file tree
remove-json-keys/src/remove_json_keys/lib
translate-messages/src/translate_messages/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22from types import SimpleNamespace as sn
33if sys .platform == 'win32' : import colorama ; colorama .init () # enable ANSI color support
44
5- try :
6- terminal_width = os .get_terminal_size ()[0 ]
7- except OSError :
8- terminal_width = 80
5+ try : terminal_width = os .get_terminal_size ()[0 ]
6+ except OSError : terminal_width = 80
97
108colors = sn (
119 nc = '\x1b [0m' , # no color
Original file line number Diff line number Diff line change 22from types import SimpleNamespace as sn
33if sys .platform == 'win32' : import colorama ; colorama .init () # enable ANSI color support
44
5- try :
6- terminal_width = os .get_terminal_size ()[0 ]
7- except OSError :
8- terminal_width = 80
5+ try : terminal_width = os .get_terminal_size ()[0 ]
6+ except OSError : terminal_width = 80
97
108colors = sn (
119 nc = '\x1b [0m' , # no color
You can’t perform that action at this time.
0 commit comments