From 3a3da7a493507655b4d6f83878692280b48a8579 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 5 Oct 2022 16:15:26 -0400 Subject: Fix pylint warning in test script --- NEWS | 6 ++++++ meson.build | 2 +- scripts/lv2_check_specification.py | 4 ++-- 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 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: -- cgit v1.2.1