aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-27 05:16:25 +0000
committerDavid Robillard <d@drobilla.net>2011-10-27 05:16:25 +0000
commit9adcb3b918e11838464e183c5b4dd2036dc67a03 (patch)
tree913918e57c444165de86f51931ca9142342f7af7
parenta712b3fd4544cfba240a1c6e66addafda04017c0 (diff)
downloadlv2-9adcb3b918e11838464e183c5b4dd2036dc67a03.tar.xz
Remove dead code.
-rwxr-xr-xlv2specgen/lv2specgen.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index a9bb71b..c973d26 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -178,14 +178,6 @@ def endProperties(first):
return ''
-def owlVersionInfo(m):
- v = findOne(m, None, owl.versionInfo, None)
- if v:
- return getLiteralString(getObject(v))
- else:
- return ""
-
-
def rdfsPropertyInfo(term, m):
"""Generate HTML for properties: Domain, range"""
global classranges
@@ -847,9 +839,6 @@ def specgen(specloc, docdir, template, doclinks, instances=False, mode="spec"):
if instances:
termlist += docTerms('Instance', instalist, m)
- template = re.sub(r"^#format \w*\n", "", template)
- template = re.sub(r"\$VersionInfo\$", owlVersionInfo(m).encode("utf-8"), template)
-
template = template.replace('@NAME@', specProperty(m, spec_url, doap.name))
template = template.replace('@URI@', spec_url)
template = template.replace('@PREFIX@', spec_pre)