From 41d2d6da0c96d351b47acb64d3e0decdba16cb16 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 2 Oct 2020 10:15:51 +1000 Subject: Cleanup: pep8 (indentation, spacing, long lines) --- tests/python/rna_info_dump.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tests/python/rna_info_dump.py') diff --git a/tests/python/rna_info_dump.py b/tests/python/rna_info_dump.py index 01cbe8d290b..bca912f39cf 100644 --- a/tests/python/rna_info_dump.py +++ b/tests/python/rna_info_dump.py @@ -81,7 +81,10 @@ def api_dump(use_properties=True, use_functions=True): for prop in v.properties: if prop.collection_type: - funcs = [(prop.identifier + "." + func.identifier, func) for func in prop.collection_type.functions] + funcs = [ + (prop.identifier + "." + func.identifier, func) + for func in prop.collection_type.functions + ] for func_id, func in funcs: data.append(func_to_str(struct_id_str, func_id, func)) data.sort() @@ -100,7 +103,10 @@ def api_dump(use_properties=True, use_functions=True): for prop in v.properties: if prop.collection_type: - props = [(prop.identifier + "." + prop_sub.identifier, prop_sub) for prop_sub in prop.collection_type.properties] + props = [ + (prop.identifier + "." + prop_sub.identifier, prop_sub) + for prop_sub in prop.collection_type.properties + ] for prop_sub_id, prop_sub in props: data.append(prop_to_str(struct_id_str, prop_sub_id, prop_sub)) data.sort() -- cgit v1.2.3