summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Vézina <ml.richard.vezina@gmail.com>2021-10-15 22:03:07 -0400
committerRichard Vézina <ml.richard.vezina@gmail.com>2021-10-15 22:03:07 -0400
commita480e30f240b9de41cf343726687bd7b7838a2c7 (patch)
treee4e5f6de203efd38c3f2a77dd208d409fec83eb8
parent0689910df4a918b3636faf6108c75bef7c8a4267 (diff)
downloadtftpy-a480e30f240b9de41cf343726687bd7b7838a2c7.tar.gz
Optimize imports
-rw-r--r--tftpy/TftpServer.py14
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')