aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-17 00:02:47 +0000
committerDavid Robillard <d@drobilla.net>2012-04-17 00:02:47 +0000
commit8ddc8b6555b12bc00fe47fb03cd337acc2854604 (patch)
tree6502f10293f0eac669f0dc8dfa8bb114b0a6c640
parentf49442f079ae43ed0262df5dec69f1b77594abf2 (diff)
downloadlv2-8ddc8b6555b12bc00fe47fb03cd337acc2854604.tar.xz
Document rdfs:Datatype as a class.
-rwxr-xr-xlv2specgen/lv2specgen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 704f09a..e403f04 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -807,7 +807,7 @@ def specInformation(m, ns):
global classdomains
# Find the class information: Ranges, domains, and list of all names.
- classtypes = [rdfs.Class, owl.Class]
+ classtypes = [rdfs.Class, owl.Class, rdfs.Datatype]
classlist = []
for onetype in classtypes:
for classStatement in findStatements(m, None, rdf.type, onetype):