Merge pull request #4507 from Neradoc/fix-alias-boards-modules

fix list of modules for alias boards
This commit is contained in:
Jeff Epler 2021-03-29 17:42:34 -05:00 committed by GitHub
commit 38382bfd12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ def get_languages(list_all = False):
languages.add(f.name[:-3])
if not list_all:
languages = languages & language_allow_list
return sorted(list(languages), key = lambda s: s.casefold())
return sorted(list(languages), key=str.casefold)
def get_board_mapping():
@ -311,7 +311,7 @@ def generate_download_info():
new_version = {
"stable": new_stable,
"version": new_tag,
"modules": support_matrix.get(alias, "[]"),
"modules": support_matrix[board_id],
"languages": languages,
"extensions": board_info["extensions"],
}