diff options
Diffstat (limited to 'release/scripts/modules/rna_info.py')
-rw-r--r-- | release/scripts/modules/rna_info.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/release/scripts/modules/rna_info.py b/release/scripts/modules/rna_info.py index 71d7ee5a7bc..964eff0e572 100644 --- a/release/scripts/modules/rna_info.py +++ b/release/scripts/modules/rna_info.py @@ -303,7 +303,9 @@ class InfoPropertyRNA: for dim in self.array_dimensions[::-1]: if dim != 0: self.default = tuple(zip(*((iter(self.default),) * dim))) - self.default_str = tuple("(%s)" % ", ".join(s for s in b) for b in zip(*((iter(self.default_str),) * dim))) + self.default_str = tuple( + "(%s)" % ", ".join(s for s in b) for b in zip(*((iter(self.default_str),) * dim)) + ) self.default_str = self.default_str[0] elif self.type == "enum" and self.is_enum_flag: self.default = getattr(rna_prop, "default_flag", set()) @@ -349,7 +351,9 @@ class InfoPropertyRNA: type_str += self.type if self.array_length: if self.array_dimensions[1] != 0: - type_str += " multi-dimensional array of %s items" % (" * ".join(str(d) for d in self.array_dimensions if d != 0)) + type_str += " multi-dimensional array of %s items" % ( + " * ".join(str(d) for d in self.array_dimensions if d != 0) + ) else: type_str += " array of %d items" % (self.array_length) |