aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-26 02:44:59 +0000
committerDavid Robillard <d@drobilla.net>2011-10-26 02:44:59 +0000
commit6b0e859064d250ae42ff5aacd2a14e18f41fe70c (patch)
tree492c7baffa3653557ae1b056cd15dde7960c742f /lv2specgen
parentd30110786a9e620dd0e3a4618ac4e69be3a1cc0c (diff)
downloadlv2-6b0e859064d250ae42ff5aacd2a14e18f41fe70c.tar.xz
Fix class hierarchy
Diffstat (limited to 'lv2specgen')
-rwxr-xr-xlv2specgen/lv2specgen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 5ec647a..9b4bf3d 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -568,7 +568,7 @@ def buildIndex(m, classlist, proplist, instalist=None):
for c in classlist:
if c in shown:
continue
- if not m.find_statements(RDF.Statement(None, rdfs.subClassOf, c)).current():
+ if m.find_statements(RDF.Statement(c, rdfs.subClassOf, None)).current():
continue
shown[c] = True
name = return_name(m, c)