summaryrefslogtreecommitdiff
path: root/scipy_distutils/exec_command.py
diff options
context:
space:
mode:
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)