aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-19 20:15:28 -0400
committerDavid Robillard <d@drobilla.net>2022-07-19 20:15:28 -0400
commit03cab09433d7bc5b5e0c1508351053494653a340 (patch)
treef324bf5233aecd630d9272a582dafb65766344a7 /scripts
parent32ef40d0c87f51bb0867243069c775c144758bed (diff)
downloadlv2-03cab09433d7bc5b5e0c1508351053494653a340.tar.xz
Fix pylint warning
Diffstat (limited to 'scripts')
-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