mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-27 13:06:30 +02:00
removing unnecessary additional code
This commit is contained in:
parent
681963343a
commit
6948d6c2d4
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class EPPLibWrapper:
|
||||||
response = self._client.send(self._login) # type: ignore
|
response = self._client.send(self._login) # type: ignore
|
||||||
if response.code >= 2000: # type: ignore
|
if response.code >= 2000: # type: ignore
|
||||||
self._client.close() # type: ignore
|
self._client.close() # type: ignore
|
||||||
raise LoginError(response.msg, response=response) # type: ignore
|
raise LoginError(response.msg) # type: ignore
|
||||||
|
|
||||||
def _disconnect(self) -> None:
|
def _disconnect(self) -> None:
|
||||||
"""Close the connection. Sends a logout command and closes the connection."""
|
"""Close the connection. Sends a logout command and closes the connection."""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue