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
|
# Attn: these imports should NOT be at the top of the file
|
||||||
try:
|
try:
|
||||||
from epplibwrapper.socket import Socket
|
|
||||||
from epplibwrapper.utility.pool_error import PoolError, PoolErrorCodes
|
|
||||||
from .client import CLIENT, commands
|
from .client import CLIENT, commands
|
||||||
from .errors import RegistryError, ErrorCode, CANNOT_CONTACT_REGISTRY, GENERIC_ERROR
|
from .errors import RegistryError, ErrorCode, CANNOT_CONTACT_REGISTRY, GENERIC_ERROR
|
||||||
from epplib.models import common, info
|
from epplib.models import common, info
|
||||||
|
|
|
@ -234,8 +234,7 @@ class EPPLibWrapper:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Initialize epplib
|
# Initialize epplib
|
||||||
#CLIENT = EPPLibWrapper()
|
CLIENT = EPPLibWrapper()
|
||||||
CLIENT = None
|
|
||||||
logger.info("registry client initialized")
|
logger.info("registry client initialized")
|
||||||
except Exception:
|
except Exception:
|
||||||
CLIENT = None # type: ignore
|
CLIENT = None # type: ignore
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue