mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -05:00
fix flake 8
This commit is contained in:
@@ -43,7 +43,7 @@ def get_login_gov_user(login_uuid, email_address):
|
||||
if user.email_address != email_address:
|
||||
try:
|
||||
save_user_attribute(user, {"email_address": email_address})
|
||||
except sqlalchemy.exc.IntegrityError as ie:
|
||||
except sqlalchemy.exc.IntegrityError:
|
||||
# We are trying to change the email address as a courtesy,
|
||||
# based on the assumption that the user has somehow changed their
|
||||
# address in login.gov.
|
||||
|
||||
Reference in New Issue
Block a user