diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-02-28 17:23:13 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-03-01 08:35:12 -0700 |
commit | 3655b732bd08022dab8498b44191d6c4049bc7a8 (patch) | |
tree | a2a2210d560d5696e47a5dcf5d969faa8d21ad79 /tools | |
parent | d1e692d70da7532b02d752d0842987333bd76c70 (diff) | |
download | numpy-3655b732bd08022dab8498b44191d6c4049bc7a8.tar.gz |
2to3: Apply `raise` fixes. Closes #3077.
Replaces the
raise Exception, msg:
form with
raise Exception(msg):
Diffstat (limited to 'tools')
-rw-r--r-- | tools/osxbuild/install_and_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/osxbuild/install_and_test.py b/tools/osxbuild/install_and_test.py index 346b45adb..e9b34f5b0 100644 --- a/tools/osxbuild/install_and_test.py +++ b/tools/osxbuild/install_and_test.py @@ -25,7 +25,7 @@ for fn in filelist: pkg = fn break if pkg is None: - raise IOError, 'Package is not found in directory %s' % distdir + raise IOError('Package is not found in directory %s' % distdir) pkgpath = os.path.abspath(os.path.join(SRC_DIR, DIST_DIR, pkg)) color_print('Installing package: %s' % pkgpath) |