From d9a1cba22d4d45dde810a5af0f9aa8b0d5082d2f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 13 Oct 2016 22:03:08 -0400 Subject: Support owl:Ontology as well as lv2:Specification --- lv2specgen/lv2specgen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index 62413be..ec7b987 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -1112,6 +1112,8 @@ def load_tags(path, docdir): 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) -- cgit v1.2.1