mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 04:28:39 +02:00
Linter fixes
This commit is contained in:
parent
1cf5bc3eaa
commit
4b493112ed
2 changed files with 0 additions and 4 deletions
|
@ -1210,8 +1210,6 @@ class Domain(TimeStampedModel, DomainHelper):
|
||||||
and isinstance(cleaned["_contacts"], list)
|
and isinstance(cleaned["_contacts"], list)
|
||||||
and len(cleaned["_contacts"]) > 0
|
and len(cleaned["_contacts"]) > 0
|
||||||
):
|
):
|
||||||
#cleaned["contacts"] = self._fetch_contacts(cleaned["_contacts"])
|
|
||||||
|
|
||||||
choices = PublicContact.ContactTypeChoices
|
choices = PublicContact.ContactTypeChoices
|
||||||
# We expect that all these fields get populated,
|
# We expect that all these fields get populated,
|
||||||
# so we can create these early, rather than waiting.
|
# so we can create these early, rather than waiting.
|
||||||
|
@ -1231,7 +1229,6 @@ class Domain(TimeStampedModel, DomainHelper):
|
||||||
|
|
||||||
# Find/create it in the DB
|
# Find/create it in the DB
|
||||||
in_db = self._get_or_create_public_contact(mapped_object)
|
in_db = self._get_or_create_public_contact(mapped_object)
|
||||||
|
|
||||||
cleaned["contacts"][in_db.contact_type] = in_db.registry_id
|
cleaned["contacts"][in_db.contact_type] = in_db.registry_id
|
||||||
|
|
||||||
# We're only getting contacts, so retain the old
|
# We're only getting contacts, so retain the old
|
||||||
|
|
|
@ -25,7 +25,6 @@ from registrar.models import (
|
||||||
from registrar.views.application import ApplicationWizard, Step
|
from registrar.views.application import ApplicationWizard, Step
|
||||||
|
|
||||||
from .common import less_console_noise
|
from .common import less_console_noise
|
||||||
from .common import MockEppLib
|
|
||||||
|
|
||||||
|
|
||||||
class TestViews(TestCase):
|
class TestViews(TestCase):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue