mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 02:49:21 +02:00
Running black / linter
This commit is contained in:
parent
fa8887d7b8
commit
df1d61b965
6 changed files with 85 additions and 53 deletions
|
@ -29,7 +29,7 @@ class PublicContact(TimeStampedModel):
|
|||
|
||||
def save(self, *args, **kwargs):
|
||||
"""Save to the registry and also locally in the registrar database."""
|
||||
skip_epp_save = kwargs.pop('skip_epp_save', False)
|
||||
skip_epp_save = kwargs.pop("skip_epp_save", False)
|
||||
if hasattr(self, "domain") and not skip_epp_save:
|
||||
match self.contact_type:
|
||||
case PublicContact.ContactTypeChoices.REGISTRANT:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue