mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 01:35:22 +02:00
Update src/registrar/signals.py
This commit is contained in:
parent
022eb9bbaf
commit
843158b3ef
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ def create_or_update_organization_type(sender, instance, **kwargs):
|
|||
# This will not happen in normal flow as it is not possible otherwise.
|
||||
raise ValueError("Cannot update organization_type and generic_org_type simultaneously.")
|
||||
elif not organization_type_changed and (not generic_org_type_changed and not is_election_board_changed):
|
||||
# Do values to update - do nothing
|
||||
# No values to update - do nothing
|
||||
return None
|
||||
# == Program flow will halt here if there is no reason to update == #
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue