mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 10:07:04 +02:00
lint
This commit is contained in:
parent
f7c9c1c42c
commit
e1d78bda5a
2 changed files with 2 additions and 2 deletions
|
@ -275,7 +275,7 @@ class DomainApplicationAdmin(ListHeaderAdmin):
|
||||||
elif obj.status == models.DomainApplication.SUBMITTED:
|
elif obj.status == models.DomainApplication.SUBMITTED:
|
||||||
# This is an fsm in model which will throw an error if the
|
# This is an fsm in model which will throw an error if the
|
||||||
# transition condition is violated, so we roll back the
|
# transition condition is violated, so we roll back the
|
||||||
# status to what it was before the admn user changed it and
|
# status to what it was before the admin user changed it and
|
||||||
# let the fsm method set it. Same comment applies to
|
# let the fsm method set it. Same comment applies to
|
||||||
# transition method calls below.
|
# transition method calls below.
|
||||||
obj.status = original_obj.status
|
obj.status = original_obj.status
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue