diff options
author | David Cournapeau <cournape@gmail.com> | 2009-12-03 15:56:47 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-12-03 15:56:47 +0000 |
commit | cf934f7deed917eb6a8d7bc8e160207f69c481c4 (patch) | |
tree | 3ed5c7ef571441cc618c15472afbca4dd52e9354 /numpy/distutils/command/build_src.py | |
parent | 2b2872b1fa4e81454835fd122bed02f931b73baf (diff) | |
download | numpy-cf934f7deed917eb6a8d7bc8e160207f69c481c4.tar.gz |
Make build_src and build_clib python3 importable.
Diffstat (limited to 'numpy/distutils/command/build_src.py')
-rw-r--r-- | numpy/distutils/command/build_src.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/command/build_src.py b/numpy/distutils/command/build_src.py index b0fd1d2a3..17326c310 100644 --- a/numpy/distutils/command/build_src.py +++ b/numpy/distutils/command/build_src.py @@ -481,8 +481,8 @@ class build_src(build_ext.build_ext): pyrex_result = Pyrex.Compiler.Main.compile(source, options=options) if pyrex_result.num_errors != 0: - raise DistutilsError,"%d errors while compiling %r with Pyrex" \ - % (pyrex_result.num_errors, source) + raise DistutilsError("%d errors while compiling %r with Pyrex" \ + % (pyrex_result.num_errors, source)) elif os.path.isfile(target_file): log.warn("Pyrex required for compiling %r but not available,"\ " using old target %r"\ |