mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 12:38:36 +02:00
Lint
This commit is contained in:
parent
60726f8c9b
commit
d286fb6709
2 changed files with 4 additions and 15 deletions
|
@ -652,12 +652,8 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
def isActive(self):
|
||||
return self.state == Domain.State.CREATED
|
||||
|
||||
|
||||
def map_epp_contact_to_public_contact(
|
||||
self,
|
||||
contact: eppInfo.InfoContactResultData,
|
||||
contact_id,
|
||||
contact_type
|
||||
self, contact: eppInfo.InfoContactResultData, contact_id, contact_type
|
||||
):
|
||||
"""Maps the Epp contact representation to a PublicContact object.
|
||||
|
||||
|
@ -827,9 +823,7 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
|
||||
# If the for loop didn't do a return,
|
||||
# then we know that it doesn't exist within cache
|
||||
logger.info(
|
||||
f"Requested contact {contact.registry_id} does not exist in cache."
|
||||
)
|
||||
logger.info(f"Requested contact {contact.registry_id} does not exist in cache.")
|
||||
return None
|
||||
|
||||
# ForeignKey on UserDomainRole creates a "permissions" member for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue