mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 03:06:01 +02:00
Remove unused code
This commit is contained in:
parent
9a12e29c5a
commit
ceb2e5ec66
2 changed files with 1 additions and 5 deletions
|
@ -1,10 +1,9 @@
|
||||||
"""Provide a wrapper around epplib to handle authentication and errors."""
|
"""Provide a wrapper around epplib to handle authentication and errors."""
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from time import sleep
|
from time import sleep
|
||||||
|
|
||||||
from gevent import Timeout
|
from gevent import Timeout
|
||||||
|
|
||||||
from epplibwrapper.utility.pool_status import PoolStatus
|
from epplibwrapper.utility.pool_status import PoolStatus
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -83,9 +83,6 @@ class RegistryError(Exception):
|
||||||
def is_client_error(self):
|
def is_client_error(self):
|
||||||
return self.code is not None and (self.code >= 2000 and self.code <= 2308)
|
return self.code is not None and (self.code >= 2000 and self.code <= 2308)
|
||||||
|
|
||||||
def is_not_retryable(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class LoginError(RegistryError):
|
class LoginError(RegistryError):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue