summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/compaq.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-12-03 15:57:50 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-12-03 15:57:50 +0000
commitbee85b21cb5a7263d09e9ea58081c1c4cac55089 (patch)
tree4ed7fd9dbcaa89c54edc63d0064068350219a8bc /numpy/distutils/fcompiler/compaq.py
parentd4b61015fa3f708901d0bda026864f8e77151540 (diff)
downloadnumpy-bee85b21cb5a7263d09e9ea58081c1c4cac55089.tar.gz
Fix print statements in fcompiler for python3.
Diffstat (limited to 'numpy/distutils/fcompiler/compaq.py')
-rw-r--r--numpy/distutils/fcompiler/compaq.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/distutils/fcompiler/compaq.py b/numpy/distutils/fcompiler/compaq.py
index 60579daf9..dd38684b8 100644
--- a/numpy/distutils/fcompiler/compaq.py
+++ b/numpy/distutils/fcompiler/compaq.py
@@ -82,16 +82,16 @@ class CompaqVisualFCompiler(FCompiler):
pass
except AttributeError, msg:
if '_MSVCCompiler__root' in str(msg):
- print 'Ignoring "%s" (I think it is msvccompiler.py bug)' % (msg)
+ print('Ignoring "%s" (I think it is msvccompiler.py bug)' % (msg))
else:
raise
except IOError, e:
if not "vcvarsall.bat" in str(e):
- print "Unexpected IOError in", __file__
+ print("Unexpected IOError in", __file__)
raise e
except ValueError, e:
if not "path']" in str(e):
- print "Unexpected ValueError in", __file__
+ print("Unexpected ValueError in", __file__)
raise e
executables = {
@@ -120,4 +120,4 @@ if __name__ == '__main__':
from numpy.distutils.fcompiler import new_fcompiler
compiler = new_fcompiler(compiler='compaq')
compiler.customize()
- print compiler.get_version()
+ print(compiler.get_version())