Cleanup: unused vars, imports

This commit is contained in:
2018-11-26 09:27:25 +11:00
parent a0cde8ed08
commit 48b0695806
6 changed files with 16 additions and 18 deletions

View File

@@ -754,14 +754,14 @@ def main():
import rna_info
struct = rna_info.BuildRNAInfo()[0]
data = []
for struct_id, v in sorted(struct.items()):
for _struct_id, v in sorted(struct.items()):
struct_id_str = v.identifier # "".join(sid for sid in struct_id if struct_id)
for base in v.get_bases():
struct_id_str = base.identifier + "|" + struct_id_str
props = [(prop.identifier, prop) for prop in v.properties]
for prop_id, prop in sorted(props):
for _prop_id, prop in sorted(props):
# if prop.type == "boolean":
# continue
prop_type = prop.type