Merge "TrivialFix: the format of the annotation"
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
|
|
||||||
class ContainerWebSocketException(Exception):
|
class ContainerWebSocketException(Exception):
|
||||||
'base for all ContainerWebSocket interactive generated exceptions'
|
"""base for all ContainerWebSocket interactive generated exceptions"""
|
||||||
def __init__(self, wrapped=None, message=None):
|
def __init__(self, wrapped=None, message=None):
|
||||||
self.wrapped = wrapped
|
self.wrapped = wrapped
|
||||||
if message:
|
if message:
|
||||||
|
@@ -239,7 +239,7 @@ class WebSocketClient(BaseClient):
|
|||||||
self.ws = websocket.create_connection(
|
self.ws = websocket.create_connection(
|
||||||
url, skip_utf8_validation=True,
|
url, skip_utf8_validation=True,
|
||||||
subprotocols=["binary", "base64"])
|
subprotocols=["binary", "base64"])
|
||||||
print('connected to %s ,press Enter to continue' % self.id)
|
print('connected to %s, press Enter to continue' % self.id)
|
||||||
print('type %s. to disconnect' % self.escape)
|
print('type %s. to disconnect' % self.escape)
|
||||||
except socket.error as e:
|
except socket.error as e:
|
||||||
raise exceptions.ConnectionFailed(e)
|
raise exceptions.ConnectionFailed(e)
|
||||||
|
Reference in New Issue
Block a user