From ce9fe920dcb4c326cf0da97b99526372197b0fbe Mon Sep 17 00:00:00 2001 From: link2xt Date: Fri, 12 Jan 2024 18:47:57 +0000 Subject: [PATCH] Do not return anything from remove_opendkim() --- cmdeploy/src/cmdeploy/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmdeploy/src/cmdeploy/__init__.py b/cmdeploy/src/cmdeploy/__init__.py index f3cae30d..144525bf 100644 --- a/cmdeploy/src/cmdeploy/__init__.py +++ b/cmdeploy/src/cmdeploy/__init__.py @@ -382,7 +382,7 @@ def _configure_nginx(domain: str, debug: bool = False) -> bool: return need_restart -def remove_opendkim() -> bool: +def remove_opendkim() -> None: """Remove OpenDKIM, deprecated""" files.file( name="Remove legacy opendkim.conf", @@ -397,7 +397,6 @@ def remove_opendkim() -> bool: ) apt.packages(name="Remove openDKIM", packages="opendkim", present=False) - return False def _configure_rspamd(dkim_selector: str, mail_domain: str) -> bool: