Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
zandercymatics committed Aug 7, 2024
1 parent bf64eb2 commit 324a1a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/registrar/tests/test_views_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
FederalAgency,
Portfolio,
Suborganization,
SeniorOfficial,
)
from datetime import date, datetime, timedelta
from django.utils import timezone
Expand Down
6 changes: 2 additions & 4 deletions src/registrar/views/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
DomainInvitation,
User,
UserDomainRole,
Portfolio,
PublicContact,
)
from registrar.utility.enums import DefaultEmail
Expand Down Expand Up @@ -231,7 +230,7 @@ def form_valid(self, form):

# superclass has the redirect
return super().form_valid(form)

def has_permission(self):
"""Override for the has_permission class to exclude portfolio users"""

Expand Down Expand Up @@ -285,8 +284,7 @@ def form_valid(self, form):

# superclass has the redirect
return super().form_valid(form)



def has_permission(self):
"""Override for the has_permission class to exclude portfolio users"""

Expand Down

0 comments on commit 324a1a2

Please sign in to comment.