mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-22 07:17:05 +00:00
Fixed E713 (not-in-test): Test for membership should be not in
This commit is contained in:
parent
845393b6e0
commit
57dcd4bb51
@ -221,7 +221,7 @@ def get_mail_aliases_ex(env):
|
||||
domain = get_domain(address)
|
||||
|
||||
# add to list
|
||||
if not domain in domains:
|
||||
if domain not in domains:
|
||||
domains[domain] = {
|
||||
"domain": domain,
|
||||
"aliases": [],
|
||||
|
Loading…
Reference in New Issue
Block a user