summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-02-25 18:27:19 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-02-25 18:27:19 +0000
commita4d4ad2d78daf744281c89a9b69932331377b508 (patch)
tree69a2d307300ae28da0bc7932efae2ee694608701
parentb76c3e8f269322f7720814af2593363f1afd83cf (diff)
downloadnumpy-a4d4ad2d78daf744281c89a9b69932331377b508.tar.gz
Trap another kind of exception for MSVC9 in compaq fcompiler.
-rw-r--r--numpy/distutils/fcompiler/compaq.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/distutils/fcompiler/compaq.py b/numpy/distutils/fcompiler/compaq.py
index ca2595e83..710752b49 100644
--- a/numpy/distutils/fcompiler/compaq.py
+++ b/numpy/distutils/fcompiler/compaq.py
@@ -89,6 +89,10 @@ class CompaqVisualFCompiler(FCompiler):
if not "vcvarsall.bat" in str(e):
print "Unexpected IOError in", __file__
raise e
+ except ValueError, e:
+ if not "path']" in str(e):
+ print "Unexpected ValueError in", __file__
+ raise e
executables = {
'version_cmd' : ['<F90>', "/what"],