Linting, once more

This commit is contained in:
zandercymatics 2024-02-27 14:38:12 -07:00
parent a4f51c6477
commit 820d6f3f58
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

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