Make linter happy

This commit is contained in:
Alexandre Aubin 2024-01-31 03:17:21 +01:00
parent ec8594a325
commit b427783721
2 changed files with 2 additions and 1 deletions

View file

@ -582,7 +582,7 @@ def _prepare_certificate_signing_request(domain, key_file, output_folder):
base_dns_zone = _get_dns_zone_for_domain(domain)
basename = _get_relative_name_for_dns_zone(domain, base_dns_zone)
suffix = f".{basename}" if basename != "@" else ""
for sub in ("xmpp-upload", "muc"):
subdomain = sub + "." + domain
if xmpp_records.get("CNAME:" + sub + suffix) == "OK":

View file

@ -606,6 +606,7 @@ def tools_shell(command=None):
shell = code.InteractiveConsole(vars)
shell.interact()
def tools_basic_space_cleanup():
"""
Basic space cleanup.