summaryrefslogtreecommitdiff
path: root/numpy/distutils/exec_command.py
diff options
context:
space:
mode:
authorGabriel <g2p.code@gmail.com>2012-11-24 01:49:39 +0100
committerGabriel <g2p.code@gmail.com>2012-11-24 01:49:39 +0100
commitdf2958e28d5542d1ae515f6ed0ba1fc0a1c728bd (patch)
tree8320640260a388d0e6312222b638353ff58e0270 /numpy/distutils/exec_command.py
parent649c90831075b5141b56e321f21c576ee58a06a6 (diff)
downloadnumpy-df2958e28d5542d1ae515f6ed0ba1fc0a1c728bd.tar.gz
Code cleanup
Diffstat (limited to 'numpy/distutils/exec_command.py')
-rw-r--r--numpy/distutils/exec_command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/exec_command.py b/numpy/distutils/exec_command.py
index 8f9076103..7657b8735 100644
--- a/numpy/distutils/exec_command.py
+++ b/numpy/distutils/exec_command.py
@@ -194,7 +194,7 @@ def exec_command( command,
# _exec_command_posix uses os.system and is faster
# but not on all platforms os.system will return
# a correct status.
- if _with_python and (0 or sys.stdout.fileno()==-1):
+ if _with_python and sys.stdout.fileno() == -1:
st = _exec_command_python(command,
exec_command_dir = exec_dir,
**env)