summaryrefslogtreecommitdiffstats
path: root/tester/rt/tftp.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-11-07 14:55:20 +1100
committerChris Johns <chrisj@rtems.org>2018-11-08 18:13:45 +1100
commite058db02816d7729e7cfa898522a6073f5d7e714 (patch)
treeaa70574c9b277224be596553881e75fc3924111c /tester/rt/tftp.py
parentrtemstoolkit: Fix the parsing of the revision string to a number. (diff)
downloadrtems-tools-e058db02816d7729e7cfa898522a6073f5d7e714.tar.bz2
python: Provide support to select a valid python version.
- Update imports after wrapping the code. - Fix python3 issues. - Fix config path issues for in repo and install runs. Closes #3537
Diffstat (limited to 'tester/rt/tftp.py')
-rw-r--r--tester/rt/tftp.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/tester/rt/tftp.py b/tester/rt/tftp.py
index 243f9b3..52deabc 100644
--- a/tester/rt/tftp.py
+++ b/tester/rt/tftp.py
@@ -43,14 +43,7 @@ import sys
from rtemstoolkit import error
from rtemstoolkit import reraise
-#
-# Support to handle use in a package and as a unit test.
-# If there is a better way to let us know.
-#
-try:
- from . import tftpy
-except (ValueError, SystemError):
- import tftpy
+import tftpy
class tftp(object):
'''RTEMS Testing TFTP base.'''