From b4277837212906cce85472a80935ebddbc6b590d Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 31 Jan 2024 03:17:21 +0100 Subject: [PATCH] Make linter happy --- src/certificate.py | 2 +- src/tools.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/certificate.py b/src/certificate.py index 0859afed8..c7ee450ee 100644 --- a/src/certificate.py +++ b/src/certificate.py @@ -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": diff --git a/src/tools.py b/src/tools.py index a511e022a..922ec7bbb 100644 --- a/src/tools.py +++ b/src/tools.py @@ -606,6 +606,7 @@ def tools_shell(command=None): shell = code.InteractiveConsole(vars) shell.interact() + def tools_basic_space_cleanup(): """ Basic space cleanup.