diff options
author | Brian May <brian@linuxpenguins.xyz> | 2018-06-18 17:11:31 +1000 |
---|---|---|
committer | Brian May <brian@linuxpenguins.xyz> | 2018-07-13 15:15:20 +1000 |
commit | 2d387d61be46768882e534a9dd9bac9881f894fe (patch) | |
tree | 0b392efacaa97b2251e104c01e1e0a238373bf0f /check-external | |
parent | 5e863c7edf518312320f467ecf72af3d7ed3de8e (diff) |
Update python exception syntax for Python 3.6 compatibility
Diffstat (limited to 'check-external')
-rwxr-xr-x | check-external/unknown-packages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check-external/unknown-packages.py b/check-external/unknown-packages.py index 1719790082..63f30f4914 100755 --- a/check-external/unknown-packages.py +++ b/check-external/unknown-packages.py @@ -19,7 +19,7 @@ def setup_paths(): return path idx = string.rfind(path, '/') if idx == -1: - raise ImportError, "could not setup paths" + raise ImportError("could not setup paths") path = path[0:idx] os.chdir(setup_paths()) |