[CI] Format code with Black

This commit is contained in:
yunohost-bot 2022-12-04 18:03:47 +00:00
parent e1eec72cc9
commit 12672a4a20

View file

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