aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-13 22:03:08 -0400
committerDavid Robillard <d@drobilla.net>2016-10-13 22:03:08 -0400
commitd9a1cba22d4d45dde810a5af0f9aa8b0d5082d2f (patch)
treea2df687aba66d57317fa0e10240ded9117f0b36a /lv2specgen
parentb5d63916aec46ffd71d982bd39f902a71f972c96 (diff)
downloadlv2-d9a1cba22d4d45dde810a5af0f9aa8b0d5082d2f.tar.xz
Support owl:Ontology as well as lv2:Specification
Diffstat (limited to 'lv2specgen')
-rwxr-xr-xlv2specgen/lv2specgen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 62413be..ec7b987 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -1113,6 +1113,8 @@ def writeIndex(model, index_path):
# Get extension URI
ext_node = model.value(None, rdf.type, lv2.Specification)
if not ext_node:
+ ext_node = model.value(None, rdf.type, owl.Ontology)
+ if not ext_node:
print('no extension found in %s' % bundle)
sys.exit(1)