mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-12 12:39:43 +02:00
consolidate delete domain function
This commit is contained in:
parent
e87c4f78f1
commit
1a9b671758
4 changed files with 143 additions and 161 deletions
|
@ -62,7 +62,7 @@ class RegistryError(Exception):
|
|||
- 2501 - 2502 Something malicious or abusive may have occurred
|
||||
"""
|
||||
|
||||
def __init__(self, *args, code=None, note=None,**kwargs):
|
||||
def __init__(self, *args, code=None, note="",**kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.code = code
|
||||
# note is a string that can be used to provide additional context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue