diff options
Diffstat (limited to 'numpy/distutils/exec_command.py')
-rw-r--r-- | numpy/distutils/exec_command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/exec_command.py b/numpy/distutils/exec_command.py index 9df48cc27..4f309b606 100644 --- a/numpy/distutils/exec_command.py +++ b/numpy/distutils/exec_command.py @@ -269,7 +269,7 @@ def _exec_command(command, use_shell=None, use_tee = None, **env): # Another historical oddity if text[-1:] == '\n': text = text[:-1] - if use_tee: + if use_tee and text: print(text) return proc.returncode, text |