mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 11:16:07 +02:00
Linting, once more
This commit is contained in:
parent
a4f51c6477
commit
820d6f3f58
1 changed files with 1 additions and 3 deletions
|
@ -1203,9 +1203,7 @@ class DomainApplicationAdmin(ListHeaderAdmin):
|
|||
should_proceed = False
|
||||
return should_proceed
|
||||
|
||||
application_is_not_approved = (
|
||||
obj.status != models.DomainApplication.ApplicationStatus.APPROVED
|
||||
)
|
||||
application_is_not_approved = obj.status != models.DomainApplication.ApplicationStatus.APPROVED
|
||||
if application_is_not_approved and not obj.domain_is_not_active():
|
||||
# If an admin tried to set an approved application to
|
||||
# another status and the related domain is already
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue