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