summaryrefslogtreecommitdiffstats
path: root/bin/apt-update-file
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
commit8035da4845d2be4cb7d2f0a1371cd6f30e7b3bdd (patch)
tree0ab229bc7125473fed55df05811126c5ed55abaa /bin/apt-update-file
parent1dd3d6336dfc2c0914660020f4f0f8a2ed43b633 (diff)
Update python exception syntax for Python 3.6 compatibility
Diffstat (limited to 'bin/apt-update-file')
-rwxr-xr-xbin/apt-update-file2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/apt-update-file b/bin/apt-update-file
index 2c4c71df86..6b253009db 100755
--- a/bin/apt-update-file
+++ b/bin/apt-update-file
@@ -15,7 +15,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]
root_path = setup_paths()

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