aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/trex/trex_server_info.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/trex/trex_server_info.py')
-rwxr-xr-xresources/tools/trex/trex_server_info.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/resources/tools/trex/trex_server_info.py b/resources/tools/trex/trex_server_info.py
index b9574957a5..e74a63e09d 100755
--- a/resources/tools/trex/trex_server_info.py
+++ b/resources/tools/trex/trex_server_info.py
@@ -28,10 +28,12 @@ Functionality:
import sys
-sys.path.insert(0, "/opt/trex-core-2.61/scripts/automation/"+\
- "trex_control_plane/interactive/")
+sys.path.insert(
+ 0, u"/opt/trex-core-2.61/scripts/automation/trex_control_plane/interactive/"
+)
from trex.stl.api import *
+
def main():
"""Check server info and quit."""
client = STLClient()
@@ -48,5 +50,5 @@ def main():
client.disconnect()
-if __name__ == "__main__":
+if __name__ == u"__main__":
main()