summaryrefslogtreecommitdiffstats
path: root/check-external
diff options
context:
space:
mode:
authorBrian May <brian@linuxpenguins.xyz>2018-06-18 17:11:31 +1000
committerBrian May <brian@linuxpenguins.xyz>2018-07-13 15:15:20 +1000
commitcc04ebb4f6ebbf80080b7990d710a55fd55a19a2 (patch)
treeea5ffabe533be6124b9c30bc82af3e23d08f10dc /check-external
parent9889b3ebf70085d28f84371a931adcced2ff19fd (diff)
Update python exception syntax for Python 3.6 compatibility
Diffstat (limited to 'check-external')
-rwxr-xr-xcheck-external/unknown-packages.py2
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())

© 2014-2024 Faster IT GmbH | imprint | privacy policy