diff options
author | David Robillard <d@drobilla.net> | 2016-10-13 22:03:08 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-13 22:03:08 -0400 |
commit | d9a1cba22d4d45dde810a5af0f9aa8b0d5082d2f (patch) | |
tree | a2df687aba66d57317fa0e10240ded9117f0b36a /lv2specgen | |
parent | b5d63916aec46ffd71d982bd39f902a71f972c96 (diff) | |
download | lv2-d9a1cba22d4d45dde810a5af0f9aa8b0d5082d2f.tar.xz |
Support owl:Ontology as well as lv2:Specification
Diffstat (limited to 'lv2specgen')
-rwxr-xr-x | lv2specgen/lv2specgen.py | 2 |
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) |