From b22cd1e97ebcd30fb5ba51cefc8b14b7d71446ab Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 27 Oct 2011 04:17:38 +0000 Subject: Remove dead code. --- lv2specgen/lv2specgen.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lv2specgen') diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index ad1ab9e..c9dd92c 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -44,7 +44,6 @@ import os import sys import datetime import re -import urllib import xml.sax.saxutils try: @@ -844,14 +843,6 @@ def specgen(specloc, docdir, template, doclinks, instances=False, mode="spec"): if instances: termlist += docTerms('Instance', instalist, m) - # Generate RDF from original namespace. - u = urllib.urlopen(specloc) - rdfdata = u.read() - rdfdata = re.sub(r"(<\?xml version.*\?>)", "", rdfdata) - rdfdata = re.sub(r"()", "", rdfdata) - #rdfdata.replace("""""", "") - - # print(template % (azlist.encode("utf-8"), termlist.encode("utf-8"), rdfdata.encode("ISO-8859-1"))) template = re.sub(r"^#format \w*\n", "", template) template = re.sub(r"\$VersionInfo\$", owlVersionInfo(m).encode("utf-8"), template) -- cgit v1.2.1