aboutsummaryrefslogtreecommitdiffstats
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
parent0bcde338db1c63bbc503b4d1f6d7b55ed43154af (diff)
downloadlv2-3a3da7a493507655b4d6f83878692280b48a8579.tar.xz
Fix pylint warning in test script
-rw-r--r--NEWS6
-rw-r--r--meson.build2
-rwxr-xr-xscripts/lv2_check_specification.py4
3 files changed, 9 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 3787c8b..8a5d1ce 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+lv2 (1.18.11) unstable; urgency=medium
+
+ * Fix pylint warning in test script
+
+ -- David Robillard <d@drobilla.net> Wed, 05 Oct 2022 20:14:31 +0000
+
lv2 (1.18.10) stable; urgency=medium
* Fix includedir in pkg-config file
diff --git a/meson.build b/meson.build
index a202df5..2d57511 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: 0BSD OR ISC
project('lv2', ['c'],
- version: '1.18.10',
+ version: '1.18.11',
license: 'ISC',
meson_version: '>= 0.56.0',
default_options: [
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: