summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-04-29 23:31:32 +0300
committerYaroslav Brustinov <ybrustin@cisco.com>2016-04-29 23:31:32 +0300
commit39aedd8ec2dd0313a097d78046445be11c7bc6d7 (patch)
tree04ba06706b24d1b1b03a69f9b5488885d050b801 /scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py
parent849fd28e43bf1b653703f42be03cbb6be9565b4f (diff)
GA fix for python3
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py')
-rwxr-xr-xscripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py2
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)