From ca2d5193454e16d98fdc067177f6c5286fdb6fbc Mon Sep 17 00:00:00 2001 From: Yohann Rebattu Date: Tue, 11 Oct 2016 18:21:17 +0200 Subject: [PATCH] use group exclusively except for config --- radicale/__main__.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/radicale/__main__.py b/radicale/__main__.py index f87ba74..6afa063 100644 --- a/radicale/__main__.py +++ b/radicale/__main__.py @@ -112,15 +112,6 @@ def run(): configuration = config.load(configuration_paths) configuration_found = True - # Update Radicale configuration according to options - for option in parser.option_list: - key = option.dest - if key: - section = option.dest.split('_')[0] - value = getattr(options, key) - if value is not None: - configuration.set(section, key, str(value)) - for group in parser.option_groups: section = group.title for option in group.option_list: