fix flake 8

This commit is contained in:
Kenneth Kehl
2024-08-15 10:40:26 -07:00
parent 146f0cc787
commit 3fde9c5d5d
6 changed files with 12 additions and 12 deletions

View File

@@ -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.