aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-24 20:53:36 +0100
committerDavid Robillard <d@drobilla.net>2019-03-24 21:23:03 +0100
commitdab26d618ec73f56a9fe0256b4f884211e3e7692 (patch)
tree095d19f9a2c78a0a681b98b8387586268bc6524c
parent6f11a3178c063bc9d1786196ee9d4606ef2c58ad (diff)
downloadlv2-dab26d618ec73f56a9fe0256b4f884211e3e7692.tar.xz
Don't show raw restriction lists in terminfo table
-rwxr-xr-xlv2specgen/lv2specgen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index ba49c5b..8793413 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -559,7 +559,7 @@ def rdfsClassInfo(term, m):
def isSpecial(pred):
"""Return True if the predicate is "special" and shouldn't be emitted generically"""
- return pred in [rdf.type, rdfs.range, rdfs.domain, rdfs.label, rdfs.comment, rdfs.subClassOf, rdfs.subPropertyOf, lv2.documentation]
+ return pred in [rdf.type, rdfs.range, rdfs.domain, rdfs.label, rdfs.comment, rdfs.subClassOf, rdfs.subPropertyOf, lv2.documentation, owl.withRestrictions]
def blankNodeDesc(node, m):