Defix the fix

This commit is contained in:
zandercymatics 2023-10-18 14:59:15 -06:00
parent a10ddccd0e
commit 599b22662d
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 1 additions and 4 deletions

View file

@ -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

View file

@ -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