Skip to content

Commit 4afee6d

Browse files
committed
Merged lines
1 parent 03f9346 commit 4afee6d

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

  • remove-json-keys/src/remove_json_keys/lib
  • translate-messages/src/translate_messages/lib

remove-json-keys/src/remove_json_keys/lib/log.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
from types import SimpleNamespace as sn
33
if 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

108
colors = sn(
119
nc='\x1b[0m', # no color

translate-messages/src/translate_messages/lib/log.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
from types import SimpleNamespace as sn
33
if 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

108
colors = sn(
119
nc='\x1b[0m', # no color

0 commit comments

Comments
 (0)