mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-01 18:18:34 +02:00
Run black linter
This commit is contained in:
parent
3a28a3a362
commit
542554959e
3 changed files with 14 additions and 8 deletions
|
@ -35,7 +35,7 @@ class Socket:
|
|||
self.client.close()
|
||||
raise LoginError(response.msg)
|
||||
return self.client
|
||||
|
||||
|
||||
def disconnect(self):
|
||||
"""Close the connection."""
|
||||
try:
|
||||
|
@ -43,7 +43,7 @@ class Socket:
|
|||
self.client.close()
|
||||
except Exception:
|
||||
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)
|
||||
|
@ -53,4 +53,4 @@ class Socket:
|
|||
self.client.close()
|
||||
raise LoginError(response.msg)
|
||||
"""
|
||||
return response
|
||||
return response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue