summaryrefslogtreecommitdiffstats
path: root/tester/rt/console.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2020-09-25 11:22:34 +1000
committerChris Johns <chrisj@rtems.org>2020-09-26 10:49:27 +1000
commit87262b429d633420402e735a770f6d6cfedecf9a (patch)
tree6c9ee3464198f2d307b127d41060657565d2d34b /tester/rt/console.py
parentlinkers: Update due to API changes (diff)
downloadrtems-tools-87262b429d633420402e735a770f6d6cfedecf9a.tar.bz2
Move all python commands to use env python
- If you host does not provide a python command consult the User manual for ways you can run the python commands. - Full package paths are being used to avoid namespace pollution and crosstalk.
Diffstat (limited to 'tester/rt/console.py')
-rw-r--r--tester/rt/console.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tester/rt/console.py b/tester/rt/console.py
index ef35a0e..7e09bb9 100644
--- a/tester/rt/console.py
+++ b/tester/rt/console.py
@@ -1,6 +1,6 @@
#
# RTEMS Tools Project (http://www.rtems.org/)
-# Copyright 2013-2014 Chris Johns (chrisj@rtems.org)
+# Copyright 2013-2020 Chris Johns (chrisj@rtems.org)
# All rights reserved.
#
# This file is part of the RTEMS Tools package in 'rtems-tools'.
@@ -41,13 +41,13 @@ import time
from rtemstoolkit import path
-import telnet
+import tester.rt.telnet
#
# Not available on Windows. Not sure what this means.
#
if os.name != 'nt':
- import stty
+ import tester.rt.stty as stty
else:
stty = None
@@ -127,7 +127,7 @@ class tty(console):
if stty and path.exists(self.dev):
self.tty = stty.tty(self.dev)
else:
- self.tty = telnet.tty(self.dev)
+ self.tty = tester.rt.telnet.tty(self.dev)
self.tty.set(self.setup)
self.tty.on()
self.read_thread = threading.Thread(target = _readthread,