mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-18 18:39:21 +02:00
Defix the fix
This commit is contained in:
parent
a10ddccd0e
commit
599b22662d
2 changed files with 1 additions and 4 deletions
|
@ -44,8 +44,6 @@ except NameError:
|
|||
|
||||
# Attn: these imports should NOT be at the top of the file
|
||||
try:
|
||||
from epplibwrapper.socket import Socket
|
||||
from epplibwrapper.utility.pool_error import PoolError, PoolErrorCodes
|
||||
from .client import CLIENT, commands
|
||||
from .errors import RegistryError, ErrorCode, CANNOT_CONTACT_REGISTRY, GENERIC_ERROR
|
||||
from epplib.models import common, info
|
||||
|
|
|
@ -234,8 +234,7 @@ class EPPLibWrapper:
|
|||
|
||||
try:
|
||||
# Initialize epplib
|
||||
#CLIENT = EPPLibWrapper()
|
||||
CLIENT = None
|
||||
CLIENT = EPPLibWrapper()
|
||||
logger.info("registry client initialized")
|
||||
except Exception:
|
||||
CLIENT = None # type: ignore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue