Merge pull request #1544 from YunoHost/ci-format-dev

[CI] Format code with Black
This commit is contained in:
Alexandre Aubin 2022-12-04 19:08:02 +01:00 committed by GitHub
commit 83bdfab255
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -581,7 +581,7 @@ def _prepare_certificate_signing_request(domain, key_file, output_folder):
or {}
)
sanlist = []
for sub in ('xmpp-upload', 'muc'):
for sub in ("xmpp-upload", "muc"):
subdomain = sub + "." + domain
if xmpp_records.get("CNAME:" + sub) == "OK":
sanlist.append(("DNS:" + subdomain))