diff options
Diffstat (limited to 'release/scripts/modules')
-rw-r--r-- | release/scripts/modules/rna_info.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/modules/rna_info.py b/release/scripts/modules/rna_info.py index ac6043da340..74df544b679 100644 --- a/release/scripts/modules/rna_info.py +++ b/release/scripts/modules/rna_info.py @@ -253,7 +253,7 @@ class InfoPropertyRNA: return "%s=%s" % (self.identifier, default) return self.identifier - def get_type_description(self, as_ret=False, as_arg=False, class_fmt="%s"): + def get_type_description(self, as_ret=False, as_arg=False, class_fmt="%s", collection_id="Collection"): type_str = "" if self.fixed_type is None: type_str += self.type @@ -277,9 +277,9 @@ class InfoPropertyRNA: else: if self.type == "collection": if self.collection_type: - collection_str = (class_fmt % self.collection_type.identifier) + " collection of " + collection_str = (class_fmt % self.collection_type.identifier) + (" %s of " % collection_id) else: - collection_str = "Collection of " + collection_str = "%s of " % collection_id else: collection_str = "" |