aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lv2_check_specification.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-10-05 16:15:26 -0400
committerDavid Robillard <d@drobilla.net>2022-10-05 16:15:26 -0400
commit3a3da7a493507655b4d6f83878692280b48a8579 (patch)
tree45b6d8448f2976acc68d73dc489f1a1f89a03dd3 /scripts/lv2_check_specification.py
parent0bcde338db1c63bbc503b4d1f6d7b55ed43154af (diff)
downloadlv2-3a3da7a493507655b4d6f83878692280b48a8579.tar.xz
Fix pylint warning in test script
Diffstat (limited to 'scripts/lv2_check_specification.py')
-rwxr-xr-xscripts/lv2_check_specification.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lv2_check_specification.py b/scripts/lv2_check_specification.py
index 0cd296e..41611ef 100755
--- a/scripts/lv2_check_specification.py
+++ b/scripts/lv2_check_specification.py
@@ -150,8 +150,8 @@ def _check_specification(checker, spec_dir, is_stable=False):
# Get all subjects that have an explicit rdf:type
typed_subjects = set()
- for typing in model.triples([None, rdf.type, None]):
- typed_subjects.add(typing[0])
+ for subject in model.subjects(rdf.type, None):
+ typed_subjects.add(subject)
# Check that all named and typed resources have labels and comments
for subject in typed_subjects: