Skip to content

Commit 0d8576c

Browse files
committed
Micro-cleanup TTY_OUTPUT global declaration
1 parent d806615 commit 0d8576c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

emsdk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2015,7 +2015,7 @@ def silentremove(filename):
20152015
if e.errno != errno.ENOENT: raise
20162016

20172017
def main():
2018-
global emscripten_config_directory, BUILD_FOR_TESTING, ENABLE_LLVM_ASSERTIONS
2018+
global emscripten_config_directory, BUILD_FOR_TESTING, ENABLE_LLVM_ASSERTIONS, TTY_OUTPUT
20192019

20202020
if len(sys.argv) <= 1 or sys.argv[1] == 'help' or sys.argv[1] == '--help':
20212021
if len(sys.argv) <= 1:
@@ -2147,7 +2147,6 @@ def main():
21472147
arg_embedded = extract_bool_arg('--embedded')
21482148
arg_notty = extract_bool_arg('--notty')
21492149
if arg_notty:
2150-
global TTY_OUTPUT
21512150
TTY_OUTPUT = False
21522151

21532152
cmd = sys.argv[1]

0 commit comments

Comments
 (0)