From 8c6c0be15af7259f0cdfffae2ee2ced4648e18ce Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Mon, 30 Jan 2023 23:10:24 +0100 Subject: [PATCH] This mutation of the control variable is intended --- vdirsyncer/cli/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vdirsyncer/cli/tasks.py b/vdirsyncer/cli/tasks.py index 1d0e92f..09c2ffa 100644 --- a/vdirsyncer/cli/tasks.py +++ b/vdirsyncer/cli/tasks.py @@ -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: