diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2017-03-24 17:21:18 +0100 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2017-03-24 18:04:27 +0100 |
commit | 4e6e5fcccddca2cb737fde43c8e9771192e26038 (patch) | |
tree | 44b1eb2392421badfc36b12250b813b29d7565c6 /numpy/distutils/exec_command.py | |
parent | 45698f1cdd64b94cd9b38549a5b3c686cf068887 (diff) | |
download | numpy-4e6e5fcccddca2cb737fde43c8e9771192e26038.tar.gz |
MAINT: remove an extra newline with the Popen based exec
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 |