mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
lint model
This commit is contained in:
parent
c465b7fb67
commit
dfb59a6a9d
1 changed files with 3 additions and 1 deletions
|
@ -1152,7 +1152,9 @@ class DomainRequest(TimeStampedModel):
|
|||
# If a suborganization already exists, it can't possibly be a new one
|
||||
if self.sub_organization:
|
||||
return False
|
||||
return bool(self.requested_suborganization and self.suborganization_city and self.suborganization_state_territory)
|
||||
return bool(
|
||||
self.requested_suborganization and self.suborganization_city and self.suborganization_state_territory
|
||||
)
|
||||
|
||||
# ## Form unlocking steps ## #
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue