Fix KeyError in scheduler

This commit is contained in:
Théophile Diot 2023-06-21 09:35:27 -04:00
parent 4d984f6237
commit 1e62626ac0
No known key found for this signature in database
GPG Key ID: E752C80DB72BB014
1 changed files with 3 additions and 3 deletions

View File

@ -376,9 +376,9 @@ if __name__ == "__main__":
tmp_external_plugins = []
for external_plugin in external_plugins.copy():
external_plugin.pop("data")
external_plugin.pop("checksum")
external_plugin.pop("jobs")
external_plugin.pop("data", None)
external_plugin.pop("checksum", None)
external_plugin.pop("jobs", None)
tmp_external_plugins.append(external_plugin)
changes = {hash(frozenset(d.items())) for d in tmp_external_plugins} != {