fix(gpg_secretstore): merge dicts with | instead of +

This commit is contained in:
Jan Christian Grünhage 2022-07-13 17:02:34 +02:00
parent c70755662b
commit 09f0027446
No known key found for this signature in database
GPG key ID: EEC1170CE56FA2ED

View file

@ -353,9 +353,8 @@ def main():
errors = []
traceback = []
for lib, exception in (
check_secretstore_import_errors().items() + check_module_import_errors().items()
):
error_map = check_secretstore_import_errors() | check_module_import_errors()
for lib, exception in error_map.items():
errors.append(missing_required_lib(lib))
traceback.append(exception)
if errors: