mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
🎨 Format Python code with Black
This commit is contained in:
parent
de9980f31e
commit
938e400865
1 changed files with 8 additions and 1 deletions
|
@ -482,7 +482,14 @@ def _get_dns_zone_for_domain(domain):
|
|||
zone = parent_list[-1]
|
||||
|
||||
# Adding this otherwise the CI is flooding about those ...
|
||||
if domain not in ["example.tld", "sub.example.tld", "domain.tld", "sub.domain.tld", "domain_a.dev", "domain_b.dev"]:
|
||||
if domain not in [
|
||||
"example.tld",
|
||||
"sub.example.tld",
|
||||
"domain.tld",
|
||||
"sub.domain.tld",
|
||||
"domain_a.dev",
|
||||
"domain_b.dev",
|
||||
]:
|
||||
logger.warning(
|
||||
f"Could not identify correctly the dns zone for domain {domain}, returning {zone}"
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue