From f72c6df9d2e9998ae1f3529d729ab7930b35785a Mon Sep 17 00:00:00 2001 From: imarom Date: Mon, 21 Mar 2016 14:48:00 +0200 Subject: python 3 support for package - phase 1 --- scripts/automation/trex_control_plane/stl/trex_stl_lib/__init__.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/__init__.py') diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/__init__.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/__init__.py index 672036b4..ba9459c1 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/__init__.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/__init__.py @@ -4,8 +4,4 @@ if sys.version_info < (2, 7): print("\n**** TRex STL pacakge requires Python version >= 2.7 ***\n") exit(-1) -if sys.version_info >= (3, 0): - print("\n**** TRex STL pacakge does not support Python 3 (yet) ***\n") - #exit(-1) - -import trex_stl_ext +from . import trex_stl_ext -- cgit 1.2.3-korg