mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-14 21:44:08 +02:00
Run black linter
This commit is contained in:
parent
3a28a3a362
commit
542554959e
3 changed files with 14 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue