From 22731f3d266c55b31ec9de215a16165d53327036 Mon Sep 17 00:00:00 2001 From: Tuna Celik Date: Fri, 10 Feb 2023 22:52:49 +0100 Subject: [PATCH] Fixed couple of points after origin sync --- config | 10 +++++----- radicale/config.py | 2 +- radicale/hook/__init__.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config b/config index 80719d58..a54026fc 100644 --- a/config +++ b/config @@ -121,8 +121,8 @@ [hook] - # Hook types - # Value: none | rabbitmq - #type = none - #rabbitmq_endpoint = - #rabbitmq_topic = \ No newline at end of file +# Hook types +# Value: none | rabbitmq +#type = none +#rabbitmq_endpoint = +#rabbitmq_topic = \ No newline at end of file diff --git a/radicale/config.py b/radicale/config.py index b5a758cc..2d2bf748 100644 --- a/radicale/config.py +++ b/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", diff --git a/radicale/hook/__init__.py b/radicale/hook/__init__.py index ed158489..c856bdf5 100644 --- a/radicale/hook/__init__.py +++ b/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: