diff options
author | 2015-10-07 00:32:37 +0300 | |
---|---|---|
committer | 2015-10-07 00:32:37 +0300 | |
commit | c27d9bf5bc25a1a9e063ca076ce2e99c02dfe31e (patch) | |
tree | 7025df7d9bba476c1c607abd7c704678d32d177d /scripts/automation/trex_control_plane/client_utils | |
parent | 2b5c0e9fc7482584d2259a7f79496ea86bcf4b5a (diff) |
Incorporating batch commands in stateless client
Diffstat (limited to 'scripts/automation/trex_control_plane/client_utils')
-rwxr-xr-x | scripts/automation/trex_control_plane/client_utils/jsonrpc_client.py | 2 |
1 files changed, 1 insertions, 1 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 a5adc485..db5ddc51 100755 --- a/scripts/automation/trex_control_plane/client_utils/jsonrpc_client.py +++ b/scripts/automation/trex_control_plane/client_utils/jsonrpc_client.py @@ -23,7 +23,7 @@ class BatchMessage(object): self.rpc_client = rpc_client self.batch_list = [] - def add (self, method_name, params = {}): + def add (self, method_name, params={}): id, msg = self.rpc_client.create_jsonrpc_v2(method_name, params, encode = False) self.batch_list.append(msg) |