From 39aedd8ec2dd0313a097d78046445be11c7bc6d7 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Fri, 29 Apr 2016 23:31:32 +0300 Subject: GA fix for python3 --- .../automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/utils') 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) -- cgit 1.2.3-korg