update Github information (devs and project stars)

This commit is contained in:
Trilarion
2021-09-27 14:51:43 +02:00
parent 4f151766bb
commit 6b6ca69a88
989 changed files with 10736 additions and 2086 deletions

View File

@@ -124,8 +124,12 @@ def write_developers(developers):
value = dev[field]
# lists get special treatment
if isinstance(value, list):
# remove duplicates
value = list(set(value))
# sort
value.sort(key=str.casefold)
value = [x if not ',' in x else '"{}"'.format(x) for x in value] # surround those with a comma with quotation marks
# surround those with a comma with quotation marks
value = [x if not ',' in x else '"{}"'.format(x) for x in value]
value = ', '.join(value)
content += '- {}: {}\n'.format(field, value)
content += '\n'