mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-30 04:53:09 +02:00
review changes and linting
This commit is contained in:
parent
63c2b7907f
commit
32789faec6
3 changed files with 45 additions and 33 deletions
|
@ -1033,7 +1033,7 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
# if registry error occurs, log the error, and raise it as well
|
||||
logger.error(f"registry error removing client hold: {err}")
|
||||
raise (err)
|
||||
|
||||
|
||||
def _delete_domain(self):
|
||||
"""This domain should be deleted from the registry
|
||||
may raises RegistryError, should be caught or handled correctly by caller"""
|
||||
|
@ -1048,7 +1048,7 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
code=ErrorCode.OBJECT_ASSOCIATION_PROHIBITS_OPERATION,
|
||||
note=f"Host {host.name} is in use by {host.domain}",
|
||||
)
|
||||
|
||||
|
||||
(
|
||||
deleted_values,
|
||||
updated_values,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue