diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-26 01:27:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-26 01:27:25 +0300 |
commit | 48b0695806877e0c204460fbed87dc64b685390d (patch) | |
tree | 6d8fab5fe0df43fde8699c51f8cddf7ce6de75a2 /release/scripts/modules/rna_info.py | |
parent | a0cde8ed08190889eebdcf7f466512497e22f94d (diff) |
Cleanup: unused vars, imports
Diffstat (limited to 'release/scripts/modules/rna_info.py')
-rw-r--r-- | release/scripts/modules/rna_info.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/rna_info.py b/release/scripts/modules/rna_info.py index 535f2cda626..490aae1c640 100644 --- a/release/scripts/modules/rna_info.py +++ b/release/scripts/modules/rna_info.py @@ -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 |