From 995267db77f5554d5228697b8b2a862b51859fe6 Mon Sep 17 00:00:00 2001 From: imarom Date: Mon, 8 Feb 2016 06:08:14 -0500 Subject: first refactor --- .../trex_control_plane/console/trex_console.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'scripts/automation/trex_control_plane/console/trex_console.py') diff --git a/scripts/automation/trex_control_plane/console/trex_console.py b/scripts/automation/trex_control_plane/console/trex_console.py index c8624626..45428b89 100755 --- a/scripts/automation/trex_control_plane/console/trex_console.py +++ b/scripts/automation/trex_control_plane/console/trex_console.py @@ -27,14 +27,16 @@ import string import os import sys import tty, termios -import trex_root_path -from common.trex_streams import * -from client.trex_stateless_client import STLClient, LoggerApi -from common.text_opts import * -from client_utils.general_utils import user_input, get_current_user -from client_utils import parsing_opts + +from trex_control_plane.stl.api import * + +from trex_control_plane.common.text_opts import * +from trex_control_plane.client_utils.general_utils import user_input, get_current_user +from trex_control_plane.client_utils import parsing_opts + + import trex_tui -from common.trex_stl_exceptions import * + from functools import wraps __version__ = "1.1" -- cgit