diff options
author | David Robillard <d@drobilla.net> | 2025-06-07 09:57:19 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-06-07 09:57:19 -0400 |
commit | 03809f07159eaa0f7a0077701f6346550ae22d6e (patch) | |
tree | 13702aae3b9d6416d2d4b2793b36ad13bd996203 | |
parent | 72b19f7e74876a629bfcc351aa21b96f99a7e68e (diff) | |
download | lv2-03809f07159eaa0f7a0077701f6346550ae22d6e.tar.xz |
-rwxr-xr-x | lv2specgen/lv2specgen.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index 2226f43..28c1500 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -123,7 +123,6 @@ def isLiteral(n): def niceName(uri): - global spec_bundle if uri.startswith(spec_ns_str): return uri.replace(spec_ns_str, "") elif uri == str(rdfs.seeAlso): @@ -382,8 +381,6 @@ def endProperties(first): def rdfsPropertyInfo(term, m): """Generate HTML for properties: Domain, range""" - global classranges - global classdomains doc = "" label = getLabel(m, term) @@ -537,8 +534,6 @@ def owlRestrictionInfo(term, m): def rdfsClassInfo(term, m): """Generate rdfs-type information for Classes: ranges, and domains.""" - global classranges - global classdomains doc = "" label = getLabel(m, term) @@ -900,8 +895,6 @@ def specInformation(m, ns): and proplist. Global variables classranges and classdomains are also filled as appropriate. """ - global classranges - global classdomains # Find the class information: Ranges, domains, and list of all names. classtypes = [rdfs.Class, owl.Class, rdfs.Datatype] @@ -1151,8 +1144,6 @@ def specgen( global spec_ns_str global spec_ns global spec_pre - global ns_list - global specgendir global linkmap spec_bundle = "file://%s/" % os.path.abspath(os.path.dirname(specloc)) |