Cleanup: unused vars, imports

This commit is contained in:
Campbell Barton
2018-11-26 09:26:15 +11:00
parent 24c383cfc4
commit cb66a28d82
11 changed files with 13 additions and 25 deletions

View File

@@ -71,7 +71,7 @@ def api_dump(use_properties=True, use_functions=True):
def dump_funcs():
data = []
for struct_id, v in sorted(struct.items()):
for _struct_id, v in sorted(struct.items()):
struct_id_str = struct_full_id(v)
funcs = [(func.identifier, func) for func in v.functions]
@@ -90,7 +90,7 @@ def api_dump(use_properties=True, use_functions=True):
def dump_props():
data = []
for struct_id, v in sorted(struct.items()):
for _struct_id, v in sorted(struct.items()):
struct_id_str = struct_full_id(v)
props = [(prop.identifier, prop) for prop in v.properties]