mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 07:54:36 +00:00
fix lint
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import subprocess
|
||||
|
||||
|
||||
chatmail = [
|
||||
(
|
||||
|
||||
@@ -23,9 +23,7 @@ def _install_chatctl() -> None:
|
||||
)
|
||||
|
||||
|
||||
def _configure_opendkim(
|
||||
domain: str, dkim_selector: str
|
||||
) -> bool:
|
||||
def _configure_opendkim(domain: str, dkim_selector: str) -> bool:
|
||||
"""Configures OpenDKIM"""
|
||||
need_restart = False
|
||||
|
||||
@@ -161,9 +159,7 @@ def deploy_chatmail() -> None:
|
||||
_install_chatctl()
|
||||
dovecot_need_restart = _configure_dovecot(domain)
|
||||
postfix_need_restart = _configure_postfix(domain)
|
||||
opendkim_need_restart = _configure_opendkim(
|
||||
domain, dkim_selector
|
||||
)
|
||||
opendkim_need_restart = _configure_opendkim(domain, dkim_selector)
|
||||
|
||||
systemd.service(
|
||||
name="Start and enable OpenDKIM",
|
||||
|
||||
Reference in New Issue
Block a user