mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-18 18:39:21 +02:00
updated linter length; linter reformatted several files
This commit is contained in:
parent
f0636013e0
commit
c760417e6a
65 changed files with 550 additions and 1727 deletions
|
@ -95,9 +95,7 @@ class EPPLibWrapper:
|
|||
|
||||
try:
|
||||
if not self.pool_status.connection_success:
|
||||
raise LoginError(
|
||||
"Couldn't connect to the registry after three attempts"
|
||||
)
|
||||
raise LoginError("Couldn't connect to the registry after three attempts")
|
||||
with self._pool.get() as connection:
|
||||
response = connection.send(command)
|
||||
except Timeout as t:
|
||||
|
@ -239,6 +237,4 @@ try:
|
|||
logger.info("registry client initialized")
|
||||
except Exception:
|
||||
CLIENT = None # type: ignore
|
||||
logger.warning(
|
||||
"Unable to configure epplib. Registrar cannot contact registry.", exc_info=True
|
||||
)
|
||||
logger.warning("Unable to configure epplib. Registrar cannot contact registry.", exc_info=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue