1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-12 20:30:57 +00:00

Don't modify DEFAULT_CONFIG_SCHEMA

This commit is contained in:
Unrud 2021-11-10 22:14:51 +01:00
parent 2f0a7855a1
commit 91e88091fc
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)