mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-10 18:40:53 +00:00
Cosmetic changes
This commit is contained in:
parent
e07df9fd1d
commit
866aa34f54
7 changed files with 19 additions and 23 deletions
|
@ -151,11 +151,10 @@ class TestBaseServerRequests:
|
|||
for option, data in values.items():
|
||||
if option.startswith("_"):
|
||||
continue
|
||||
long_name = "--{0}-{1}".format(
|
||||
section, option.replace("_", "-"))
|
||||
long_name = "--%s-%s" % (section, option.replace("_", "-"))
|
||||
if data["type"] == bool:
|
||||
if not self.configuration.get(section, option):
|
||||
long_name = "--no{0}".format(long_name[1:])
|
||||
long_name = "--no%s" % long_name[1:]
|
||||
config_args.append(long_name)
|
||||
else:
|
||||
config_args.append(long_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue