aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-03-12 23:36:23 -0500
committerDavid Robillard <d@drobilla.net>2021-03-15 14:39:11 -0400
commit8817d4c13380da4e06fe9497c41a251038eaf5d4 (patch)
tree83d6e2cf22d1662448ca56de4b3af46870eac36d /wscript
parentfe222f853820810bc1203aa8507600c1d6e44a68 (diff)
downloadlv2-8817d4c13380da4e06fe9497c41a251038eaf5d4.tar.xz
Fix type and range of patch:value
This was obviously wrong. I'm not sure how this happened, probably a copy/paste mistake.
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript b/wscript
index 6ecb0d9..37a24e8 100644
--- a/wscript
+++ b/wscript
@@ -686,6 +686,9 @@ def test_vocabularies(check, specs, files):
# Check that all properties are either datatype or object properties
for r in sorted(model.triples([None, rdf.type, rdf.Property])):
subject = r[0]
+ if str(subject) == 'http://lv2plug.in/ns/ext/patch#value':
+ continue # patch:value is just a "promiscuous" rdf:Property
+
types = list(model.objects(subject, rdf.type))
check(lambda: ((owl.DatatypeProperty in types) or