diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-19 11:07:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-19 11:07:14 +0400 |
commit | aaf328dc78d69e80d7755b4e64fed136e10079d2 (patch) | |
tree | 73336c77f48f596830d4ef93b005a97aedf6acce /release/test | |
parent | ce639f18d6cf87fa92b80b61b9a411c53516f4a0 (diff) |
remove redundant []'s for list comprehension's, py2.4+ supports this.
Diffstat (limited to 'release/test')
-rw-r--r-- | release/test/rna_info_dump.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/test/rna_info_dump.py b/release/test/rna_info_dump.py index 1e40c43eac9..62c1248d733 100644 --- a/release/test/rna_info_dump.py +++ b/release/test/rna_info_dump.py @@ -45,7 +45,7 @@ def api_dump(use_properties=True, use_functions=True): data_str = "%s.%s(%s)" % (struct_id_str, func_id, ", ".join(args)) if func.return_values: - return_args = ", ".join([prop_type(arg) for arg in func.return_values]) + return_args = ", ".join(prop_type(arg) for arg in func.return_values) if len(func.return_values) > 1: data_str += " --> (%s)" % return_args else: |