summaryrefslogtreecommitdiffstats
path: root/tester/rt/tftp.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-11-07 14:58:17 +1100
committerChris Johns <chrisj@rtems.org>2018-11-08 18:13:55 +1100
commitf24e11688eb246503034cf41658ea26f511e25be (patch)
tree1cc552a6976ddaa5d09871488d5b562bc2bdd973 /tester/rt/tftp.py
parentpython: Provide support to select a valid python version. (diff)
downloadrtems-tools-f24e11688eb246503034cf41658ea26f511e25be.tar.bz2
tester: Update the Python TFTP server to fix Python3 issues.
Updated to af2f2fe89a3bf45748b78703820efb0986a8207a. Repo is https://github.com/msoulier/tftpy.git
Diffstat (limited to 'tester/rt/tftp.py')
-rw-r--r--tester/rt/tftp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tester/rt/tftp.py b/tester/rt/tftp.py
index 52deabc..c91ae51 100644
--- a/tester/rt/tftp.py
+++ b/tester/rt/tftp.py
@@ -119,7 +119,8 @@ class tftp(object):
return None
def _listener(self):
- tftpy.log.setLevel(100)
+ tftpy_log = logging.getLogger('tftpy')
+ tftpy_log.setLevel(100)
try:
self.server = tftpy.TftpServer(tftproot = '.',
dyn_file_func = self._exe_handle)