diff options
author | 2016-04-29 23:31:32 +0300 | |
---|---|---|
committer | 2016-04-29 23:31:32 +0300 | |
commit | 39aedd8ec2dd0313a097d78046445be11c7bc6d7 (patch) | |
tree | 04ba06706b24d1b1b03a69f9b5488885d050b801 /scripts/automation/trex_control_plane/stl/trex_stl_lib/utils | |
parent | 849fd28e43bf1b653703f42be03cbb6be9565b4f (diff) |
GA fix for python3
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/utils')
-rwxr-xr-x | scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py index 3101b45d..164aae7a 100755 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py @@ -200,7 +200,7 @@ class GAmanager: # print items
def reportBatched(self,batched):
- req = Request(url_batched, data=batched)
+ req = Request(url_batched, data=batched.encode('ascii'))
urlopen(req)
#requests.post(url_batched,data=batched)
|