From 7002d06f4df8e5500702aacf7a80794a088a4342 Mon Sep 17 00:00:00 2001 From: Unrud Date: Sun, 9 Sep 2018 07:28:35 +0200 Subject: [PATCH] remove unused extra_config argument --- radicale/config.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/radicale/config.py b/radicale/config.py index 3b2c290..edd01ac 100644 --- a/radicale/config.py +++ b/radicale/config.py @@ -196,16 +196,12 @@ INTERNAL_CONFIG = OrderedDict([ "type": bool})]) -def load(paths=(), extra_config=None, ignore_missing_paths=True): +def load(paths=(), ignore_missing_paths=True): config = ConfigParser() for section, values in INITIAL_CONFIG.items(): config.add_section(section) for key, data in values.items(): config.set(section, key, data["value"]) - if extra_config: - for section, values in extra_config.items(): - for key, value in values.items(): - config.set(section, key, value) for path in paths: if path or not ignore_missing_paths: try: