diff options
author | David Robillard <d@drobilla.net> | 2022-10-05 16:15:26 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-10-05 16:15:26 -0400 |
commit | 3a3da7a493507655b4d6f83878692280b48a8579 (patch) | |
tree | 45b6d8448f2976acc68d73dc489f1a1f89a03dd3 /scripts | |
parent | 0bcde338db1c63bbc503b4d1f6d7b55ed43154af (diff) | |
download | lv2-3a3da7a493507655b4d6f83878692280b48a8579.tar.xz |
Fix pylint warning in test script
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/lv2_check_specification.py | 4 |
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: |