This mutation of the control variable is intended

This commit is contained in:
Hugo Osvaldo Barrera 2023-01-30 23:10:24 +01:00 committed by Hugo
parent dfc29db312
commit 8c6c0be15a

View file

@ -115,7 +115,7 @@ async def repair_collection(
if collection is not None:
cli_logger.info("Discovering collections (skipping cache).")
cls, config = storage_class_from_config(config)
async for config in cls.discover(**config):
async for config in cls.discover(**config): # noqa E902
if config["collection"] == collection:
break
else: