Switch to relative imports

This commit is contained in:
2013-10-27 17:22:47 +00:00
parent 9fd521336a
commit a8543521b8
3 changed files with 6 additions and 6 deletions

View File

@@ -25,9 +25,9 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
from protocol import TS3Proto, TS3Response, ConnectionError, NoConnectionError, InvalidArguments
from server import TS3Server
from defines import *
from .protocol import TS3Proto, TS3Response, ConnectionError, NoConnectionError, InvalidArguments
from .server import TS3Server
from .defines import *
__version__ = "0.1"
__license__ = "BSD 3-Clause"

View File

@@ -26,8 +26,8 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import logging
from protocol import TS3Proto, InvalidArguments
from defines import *
from .protocol import TS3Proto, InvalidArguments
from .defines import *
class TS3Server(TS3Proto):

View File

@@ -1,5 +1,5 @@
import unittest
from protocol import TS3Proto
from .protocol import TS3Proto
class TS3ProtoTest(unittest.TestCase):
""" Tests the TS3Proto class """