1
0
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:
Teal Dulcet 2023-12-22 07:22:55 -08:00 committed by Joshua Tauberer
parent 845393b6e0
commit 57dcd4bb51

View File

@ -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": [],