aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/lv2_build_index.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lv2_build_index.py b/scripts/lv2_build_index.py
index 8238b49..c0e4395 100755
--- a/scripts/lv2_build_index.py
+++ b/scripts/lv2_build_index.py
@@ -43,9 +43,9 @@ def _load_ttl(data_paths, exclude=None):
if exclude is None or path not in exclude:
try:
model.parse(path, format="n3")
- except SyntaxError as e:
+ except SyntaxError as error:
sys.stderr.write(f"error: Failed to parse {path}\n")
- raise e
+ raise error
return model