From cc04ebb4f6ebbf80080b7990d710a55fd55a19a2 Mon Sep 17 00:00:00 2001 From: Brian May Date: Mon, 18 Jun 2018 17:11:31 +1000 Subject: Update python exception syntax for Python 3.6 compatibility --- bin/update-nvd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/update-nvd') diff --git a/bin/update-nvd b/bin/update-nvd index fb564c4a9f..40e0f51bf9 100755 --- a/bin/update-nvd +++ b/bin/update-nvd @@ -14,7 +14,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()) -- cgit v1.2.3