Elegant merge operator, minus the typo

This commit is contained in:
benjamin melançon 2021-06-01 20:48:57 -04:00
parent 5ac674bf0d
commit 3cb7b495f5

View file

@ -136,7 +136,7 @@ other_project_names = {
"Personal": ["Personal/external", "Personal / external", "External"], "Personal": ["Personal/external", "Personal / external", "External"],
} }
replacement_project_names = harvest_project_names.copy | other_project_names replacement_project_names = harvest_project_names | other_project_names
for preferred, alternatives in replacement_project_names.items(): for preferred, alternatives in replacement_project_names.items():
# We compare all alternatives to lower case versions, and add the # We compare all alternatives to lower case versions, and add the