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