Code Review
/
trex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
552aaf4
)
fix for breakage in the doc
author
imarom
<
[email protected]
>
Wed, 23 Mar 2016 13:03:45 +0000
(15:03 +0200)
committer
imarom
<
[email protected]
>
Wed, 23 Mar 2016 13:03:45 +0000
(15:03 +0200)
scripts/automation/trex_control_plane/client/trex_client.py
patch
|
blob
|
history
diff --git
a/scripts/automation/trex_control_plane/client/trex_client.py
b/scripts/automation/trex_control_plane/client/trex_client.py
index
68c7011
..
dfd3dc0
100755
(executable)
--- 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