summaryrefslogtreecommitdiff
path: root/scipy_distutils/exec_command.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2004-03-29 19:17:15 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2004-03-29 19:17:15 +0000
commitf7a8b6da0e2f067bb584303923f24214769cf6af (patch)
tree2a2efca166e225de22fbfdcd71ad342ae61ce5c3 /scipy_distutils/exec_command.py
parent766c97f887162de06ca60caedbb28252499e464d (diff)
downloadnumpy-f7a8b6da0e2f067bb584303923f24214769cf6af.tar.gz
Disabled status=998 error for now.
Diffstat (limited to 'scipy_distutils/exec_command.py')
-rw-r--r--scipy_distutils/exec_command.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scipy_distutils/exec_command.py b/scipy_distutils/exec_command.py
index e3ffff9ee..b97169e4d 100644
--- a/scipy_distutils/exec_command.py
+++ b/scipy_distutils/exec_command.py
@@ -420,7 +420,10 @@ def _exec_command( command, use_shell=None, **env ):
ferr.close()
os.remove(errfile)
if errmess and not status:
- status = 998
+ # Not sure how to handle the case where errmess
+ # contains only warning messages and that should
+ # be treated as errors.
+ #status = 998
if text:
text = text + '\n'
text = '%sCOMMAND %r FAILED: %s' %(text,command,errmess)