mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-03 00:07:05 +00:00
Fixed ARG005 (unused-lambda-argument): Unused lambda argument: alias
This commit is contained in:
parent
9fb9af5ed5
commit
b305871051
@ -301,7 +301,7 @@ def get_domain(emailaddr, as_unicode=True):
|
||||
pass
|
||||
return ret
|
||||
|
||||
def get_mail_domains(env, filter_aliases=lambda alias : True, users_only=False):
|
||||
def get_mail_domains(env, filter_aliases=lambda _alias : True, users_only=False):
|
||||
# Returns the domain names (IDNA-encoded) of all of the email addresses
|
||||
# configured on the system. If users_only is True, only return domains
|
||||
# with email addresses that correspond to user accounts. Exclude Unicode
|
||||
|
Loading…
Reference in New Issue
Block a user