This commit is contained in:
Willi Ballenthin
2024-05-06 12:38:28 +02:00
committed by Willi Ballenthin
parent d26897afca
commit f26a109b4d
2 changed files with 2 additions and 0 deletions

View File

@@ -147,6 +147,7 @@ def find_dynamic_capabilities(
# to disable progress completely
def pbar(s, *args, **kwargs):
return s
elif not sys.stderr.isatty():
# don't display progress bar when stderr is redirected to a file
def pbar(s, *args, **kwargs):

View File

@@ -156,6 +156,7 @@ def find_static_capabilities(
# to disable progress completely
def pbar(s, *args, **kwargs):
return s
elif not sys.stderr.isatty():
# don't display progress bar when stderr is redirected to a file
def pbar(s, *args, **kwargs):