Run black linter

This commit is contained in:
zandercymatics 2023-10-12 10:21:56 -06:00
parent 3a28a3a362
commit 542554959e
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 14 additions and 8 deletions

View file

@ -10,6 +10,7 @@ except ImportError:
logger = logging.getLogger(__name__)
class EppConnectionPool(ConnectionPool):
def __init__(self, client, login, options):
# For storing shared credentials
@ -35,8 +36,8 @@ class EppConnectionPool(ConnectionPool):
except Exception as err:
logger.error("Failed to keep the connection alive.", exc_info=True)
raise RegistryError("Failed to keep the connection alive.") from err
def create_socket(self, client, login) -> Socket:
"""Creates and returns a socket instance"""
socket = Socket(client, login)
return socket
return socket