Jelajahi Sumber

remove unused extra_config argument

Unrud 7 tahun lalu
induk
melakukan
7002d06f4d
1 mengubah file dengan 1 tambahan dan 5 penghapusan
  1. 1 5
      radicale/config.py

+ 1 - 5
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: