From 03cab09433d7bc5b5e0c1508351053494653a340 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 19 Jul 2022 20:15:28 -0400 Subject: Fix pylint warning --- scripts/lv2_build_index.py | 4 ++-- 1 file 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 -- cgit v1.2.1