mirror of
https://github.com/blender/blender
synced 2026-09-28 04:04:20 +03:00
Credits Script: Fold case for organizations
Use `str.casefold` as sorting key for organizations, which arguably reads more naturally when an organization has a uppercase name. Ref !160527
This commit is contained in:
parent
5c45585ae0
commit
b718fce723
1 changed files with 1 additions and 1 deletions
|
|
@ -371,7 +371,7 @@ def parse_organizations(authors_file: str) -> tuple[str, ...] | None:
|
|||
print("Error: Could not find \"{:s}\" in AUTHORS file: {:s}".format(section_end, authors_file))
|
||||
return None
|
||||
|
||||
sorted_unique_organizations = tuple(sorted(set(orgs)))
|
||||
sorted_unique_organizations = tuple(sorted(set(orgs), key=str.casefold))
|
||||
return sorted_unique_organizations
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue