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

Don't modify global constants

This commit is contained in:
Unrud 2020-10-04 05:38:58 +02:00
parent c89cd67065
commit dd3a3b17d4
2 changed files with 6 additions and 6 deletions

View file

@ -71,7 +71,7 @@ def run():
continue
kwargs = data.copy()
long_name = "--%s-%s" % (section, option.replace("_", "-"))
args = kwargs.pop("aliases", [])
args = list(kwargs.pop("aliases", ()))
args.append(long_name)
kwargs["dest"] = "%s_%s" % (section, option)
groups[group].append(kwargs["dest"])