mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-01 18:18:34 +02:00
Fix pool locally, cleanup
This commit is contained in:
parent
a82f3c5ce9
commit
c4d2950ac9
2 changed files with 18 additions and 15 deletions
|
@ -45,12 +45,9 @@ class Socket:
|
|||
logger.warning("Connection to registry was not cleanly closed.")
|
||||
|
||||
def send(self, command):
|
||||
logger.debug(f"command is this: {command}")
|
||||
response = self.client.send(command)
|
||||
# TODO - add some validation
|
||||
"""
|
||||
if response.code >= 2000:
|
||||
self.client.close()
|
||||
raise LoginError(response.msg)
|
||||
"""
|
||||
|
||||
return response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue