mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-20 09:46:06 +02:00
disable linting
This commit is contained in:
parent
fd708e0b2d
commit
559254ab07
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ def send_templated_email(
|
|||
Raises EmailSendingError if SES client could not be accessed
|
||||
"""
|
||||
|
||||
if flag_is_active(None, "disable_email_sending") and not settings.IS_PRODUCTION:
|
||||
if flag_is_active(None, "disable_email_sending") and not settings.IS_PRODUCTION: # noqa
|
||||
message = "Could not send email. Email sending is disabled due to flag 'disable_email_sending'."
|
||||
raise EmailSendingError(message)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue