Procházet zdrojové kódy

Fixed couple of points after origin sync

Tuna Celik před 3 roky
rodič
revize
22731f3d26
3 změnil soubory, kde provedl 7 přidání a 7 odebrání
  1. 5 5
      config
  2. 1 1
      radicale/config.py
  3. 1 1
      radicale/hook/__init__.py

+ 5 - 5
config

@@ -121,8 +121,8 @@
 
 [hook]
 
- # Hook types
- # Value: none | rabbitmq
- #type = none
- #rabbitmq_endpoint =
- #rabbitmq_topic =
+# Hook types
+# Value: none | rabbitmq
+#type = none
+#rabbitmq_endpoint =
+#rabbitmq_topic =

+ 1 - 1
radicale/config.py

@@ -123,7 +123,7 @@ DEFAULT_CONFIG_SCHEMA = OrderedDict([
             "value": "False",
             "help": "use SSL connection",
             "aliases": ["-s", "--ssl"],
-            "opposite": ["-S", "--no-ssl"],
+            "opposite_aliases": ["-S", "--no-ssl"],
             "type": bool}),
         ("certificate", {
             "value": "/etc/ssl/radicale.cert.pem",

+ 1 - 1
radicale/hook/__init__.py

@@ -9,7 +9,7 @@ INTERNAL_TYPES = ("none", "rabbitmq")
 def load(configuration):
     """Load the storage module chosen in configuration."""
     return utils.load_plugin(
-        INTERNAL_TYPES, "hook", "Hook", configuration)
+        INTERNAL_TYPES, "hook", "Hook", BaseHook, configuration)
 
 
 class BaseHook: