Linter mc linterton

This commit is contained in:
zandercymatics 2023-09-28 14:16:19 -06:00
parent 9a9c814269
commit b7a5e0e763
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 9 additions and 7 deletions

View file

@ -653,8 +653,7 @@ class Domain(TimeStampedModel, DomainHelper):
"""This domain should be deleted from the registry
may raises RegistryError, should be caught or handled correctly by caller"""
request = commands.DeleteDomain(name=self.name)
response = registry.send(request, cleaned=True)
return response
registry.send(request, cleaned=True)
def __str__(self) -> str:
return self.name