diff options
author | Chris Johns <chrisj@rtems.org> | 2020-09-25 11:22:34 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2020-09-26 10:49:27 +1000 |
commit | 87262b429d633420402e735a770f6d6cfedecf9a (patch) | |
tree | 6c9ee3464198f2d307b127d41060657565d2d34b /tester/rt/tftp.py | |
parent | linkers: Update due to API changes (diff) | |
download | rtems-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/tftp.py')
-rw-r--r-- | tester/rt/tftp.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tester/rt/tftp.py b/tester/rt/tftp.py index 7829e8f..af5029a 100644 --- a/tester/rt/tftp.py +++ b/tester/rt/tftp.py @@ -1,6 +1,6 @@ # # RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2013-2017 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'. @@ -43,7 +43,7 @@ import sys from rtemstoolkit import error from rtemstoolkit import reraise -import tftpserver +import tester.rt.tftpserver class tftp(object): '''RTEMS Testing TFTP base.''' @@ -138,11 +138,11 @@ class tftp(object): exe = self.exe self.exe = None self._unlock('_listener') - self.server = tftpserver.tftp_server(host = 'all', - port = self.port, - timeout = 1, - forced_file = exe, - sessions = 1) + self.server = tester.rt.tftpserver.tftp_server(host = 'all', + port = self.port, + timeout = 1, + forced_file = exe, + sessions = 1) try: self.server.start() self.server.run() |