summaryrefslogtreecommitdiff
path: root/tester/rt/tftpy/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'tester/rt/tftpy/__init__.py')
-rw-r--r--tester/rt/tftpy/__init__.py23
1 files changed, 12 insertions, 11 deletions
diff --git a/tester/rt/tftpy/__init__.py b/tester/rt/tftpy/__init__.py
index 33f988c..71b8e3d 100644
--- a/tester/rt/tftpy/__init__.py
+++ b/tester/rt/tftpy/__init__.py
@@ -1,3 +1,5 @@
+# vim: ts=4 sw=4 et ai:
+# -*- coding: utf8 -*-
"""
This library implements the tftp protocol, based on rfc 1350.
http://www.faqs.org/rfcs/rfc1350.html
@@ -8,19 +10,18 @@ As a client of tftpy, this is the only module that you should need to import
directly. The TftpClient and TftpServer classes can be reached through it.
"""
-from __future__ import absolute_import, division, print_function, unicode_literals
+
import sys
-# Make sure that this is at least Python 2.3
-required_version = (2, 3)
+# Make sure that this is at least Python 2.7
+required_version = (2, 7)
if sys.version_info < required_version:
- raise ImportError("Requires at least Python 2.3")
+ raise ImportError("Requires at least Python 2.7")
from .TftpShared import *
-from .TftpPacketTypes import *
-from .TftpPacketFactory import *
-from .TftpClient import *
-from .TftpServer import *
-from .TftpContexts import *
-from .TftpStates import *
-
+from . import TftpPacketTypes
+from . import TftpPacketFactory
+from .TftpClient import TftpClient
+from .TftpServer import TftpServer
+from . import TftpContexts
+from . import TftpStates