1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-10 18:40:53 +00:00

Don't modify DEFAULT_CONFIG_SCHEMA

This commit is contained in:
Unrud 2021-11-10 22:14:51 +01:00
parent f72b344981
commit 7c9c873b13
2 changed files with 2 additions and 2 deletions

View file

@ -91,7 +91,7 @@ def run() -> None:
del kwargs["type"]
kwargs["action"] = "store_const"
kwargs["const"] = "True"
opposite_args = kwargs.pop("opposite", [])
opposite_args = list(kwargs.pop("opposite", ()))
opposite_args.append("--no%s" % long_name[1:])
group.add_argument(*args, **kwargs)