mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 04:28:39 +02:00
Linter mc linterton
This commit is contained in:
parent
9a9c814269
commit
b7a5e0e763
3 changed files with 9 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue