diff options
author | Dan Klein <danklein10@gmail.com> | 2015-10-25 11:33:48 +0200 |
---|---|---|
committer | Dan Klein <danklein10@gmail.com> | 2015-10-25 11:33:48 +0200 |
commit | ebb0b48faca96bad7bfe8da0bf80df7c7c80350d (patch) | |
tree | 13930133d5dc55d0ad2fa35a8d37d2157227b237 /scripts/automation/trex_control_plane/client_utils | |
parent | a2a634fc8b5bac450ea37f29dde521b7d9e740c8 (diff) |
HLTAPI progress...
Diffstat (limited to 'scripts/automation/trex_control_plane/client_utils')
-rwxr-xr-x | scripts/automation/trex_control_plane/client_utils/jsonrpc_client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/client_utils/jsonrpc_client.py b/scripts/automation/trex_control_plane/client_utils/jsonrpc_client.py index ed14e6f8..1c5dbe7e 100755 --- a/scripts/automation/trex_control_plane/client_utils/jsonrpc_client.py +++ b/scripts/automation/trex_control_plane/client_utils/jsonrpc_client.py @@ -182,7 +182,7 @@ class JsonRpcClient(object): # if no error there should be a result if ("result" not in response_json): - return False, "Malfromed Response ({0})".format(str(response)) + return False, "Malformed Response ({0})".format(str(response)) return True, response_json["result"] @@ -200,7 +200,7 @@ class JsonRpcClient(object): else: return False, "Not connected to server" - def connect(self, server = None, port = None): + def connect(self, server=None, port=None): if self.connected: self.disconnect() |