From 6b0e859064d250ae42ff5aacd2a14e18f41fe70c Mon Sep 17 00:00:00 2001
From: David Robillard <d@drobilla.net>
Date: Wed, 26 Oct 2011 02:44:59 +0000
Subject: Fix class hierarchy

---
 lv2specgen/lv2specgen.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'lv2specgen')

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)
-- 
cgit v1.2.1