Permalink
Browse files

Code cleanup

  • Loading branch information...
1 parent 649c908 commit df2958e28d5542d1ae515f6ed0ba1fc0a1c728bd @g2p g2p committed Nov 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit df2958e

Please sign in to comment.