From ce9c8abd60987aba429fda00d44f690b7e6072ca Mon Sep 17 00:00:00 2001 From: Neil Martinsen-Burrell Date: Tue, 4 Apr 2023 10:29:29 -0500 Subject: [PATCH] Fix linting errors --- src/registrar/views/domain.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/registrar/views/domain.py b/src/registrar/views/domain.py index 870b6a676..5c199066f 100644 --- a/src/registrar/views/domain.py +++ b/src/registrar/views/domain.py @@ -93,8 +93,12 @@ class DomainAddUserView(DomainPermission, FormMixin, DetailView): ) except EmailSendingError: messages.warning(self.request, "Could not send email invitation.") - logger.warn("Could not sent email invitation to %s for domain %s", - email_address, self.object, exc_info=True) + logger.warn( + "Could not sent email invitation to %s for domain %s", + email_address, + self.object, + exc_info=True, + ) else: messages.success( self.request, f"Invited {email_address} to this domain."