aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen
diff options
context:
space:
mode:
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)