Merge "TrivialFix: the format of the annotation"

This commit is contained in:
Jenkins
2017-09-22 05:36:42 +00:00
committed by Gerrit Code Review
2 changed files with 11 additions and 11 deletions

View File

@@ -15,7 +15,7 @@
class ContainerWebSocketException(Exception):
'base for all ContainerWebSocket interactive generated exceptions'
"""base for all ContainerWebSocket interactive generated exceptions"""
def __init__(self, wrapped=None, message=None):
self.wrapped = wrapped
if message:

View File

@@ -239,7 +239,7 @@ class WebSocketClient(BaseClient):
self.ws = websocket.create_connection(
url, skip_utf8_validation=True,
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)
except socket.error as e:
raise exceptions.ConnectionFailed(e)