diff options
author | Richard Vézina <ml.richard.vezina@gmail.com> | 2021-10-15 22:03:07 -0400 |
---|---|---|
committer | Richard Vézina <ml.richard.vezina@gmail.com> | 2021-10-15 22:03:07 -0400 |
commit | a480e30f240b9de41cf343726687bd7b7838a2c7 (patch) | |
tree | e4e5f6de203efd38c3f2a77dd208d409fec83eb8 | |
parent | 0689910df4a918b3636faf6108c75bef7c8a4267 (diff) | |
download | tftpy-a480e30f240b9de41cf343726687bd7b7838a2c7.tar.gz |
Optimize imports
-rw-r--r-- | tftpy/TftpServer.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tftpy/TftpServer.py b/tftpy/TftpServer.py index 69adb1b..02d6a3e 100644 --- a/tftpy/TftpServer.py +++ b/tftpy/TftpServer.py @@ -5,16 +5,18 @@ instance of the server, and then run the listen() method to listen for client requests. Logging is performed via a standard logging object set in TftpShared.""" - -import socket, os, time +import logging +import os import select +import socket import threading -import logging +import time from errno import EINTR -from .TftpShared import * -from .TftpPacketTypes import * -from .TftpPacketFactory import TftpPacketFactory + from .TftpContexts import TftpContextServer +from .TftpPacketFactory import TftpPacketFactory +from .TftpPacketTypes import * +from .TftpShared import * log = logging.getLogger('tftpy.TftpServer') |