diff options
author | imarom <imarom@cisco.com> | 2016-03-23 15:03:45 +0200 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-03-23 15:03:45 +0200 |
commit | e9ab260a5fa47604406e1e9432d0036dc8fd9928 (patch) | |
tree | a9dc8b45d6a1a0aa02ef6ff388746731c1ebb7bd /scripts/automation | |
parent | 552aaf480a7b994beb33b49fceccfcc9923e918d (diff) |
fix for breakage in the doc
Diffstat (limited to 'scripts/automation')
-rwxr-xr-x | scripts/automation/trex_control_plane/client/trex_client.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/client/trex_client.py b/scripts/automation/trex_control_plane/client/trex_client.py index 68c70119..dfd3dc01 100755 --- a/scripts/automation/trex_control_plane/client/trex_client.py +++ b/scripts/automation/trex_control_plane/client/trex_client.py @@ -3,7 +3,11 @@ import sys import os -import client.outer_packages +if __package__: + from . import outer_packages +else: + import outer_packages + import jsonrpclib from jsonrpclib import ProtocolError, AppError from common.trex_status_e import TRexStatus |