review changes and linting

This commit is contained in:
matthewswspence 2024-12-13 15:27:57 -06:00
parent 63c2b7907f
commit 32789faec6
No known key found for this signature in database
GPG key ID: FB458202A7852BA4
3 changed files with 45 additions and 33 deletions

View file

@ -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,