Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #893 from deNBI/fix(linting)_refs/heads/master
Browse files Browse the repository at this point in the history
Automated Blacked Linting
  • Loading branch information
dweinholz authored Nov 10, 2021
2 parents 749df7a + a3e798b commit 75af05f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion VirtualMachineService/VirtualMachineServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ def catch_shutdown(signal, frame):
processor = Processor(handler)
if USE_SSL:
click.echo("Use SSL")
transport = TSSLSocket.TSSLServerSocket(host=HOST, port=PORT, certfile=CERTFILE,ssl_version=ssl.PROTOCOL_TLS_SERVER)
transport = TSSLSocket.TSSLServerSocket(
host=HOST, port=PORT, certfile=CERTFILE, ssl_version=ssl.PROTOCOL_TLS_SERVER
)
else:
click.echo("Does not use SSL")
transport = TSocket.TServerSocket(host=HOST, port=PORT)
Expand Down

0 comments on commit 75af05f

Please sign in to comment.