diff options
-rw-r--r-- | gsxws/comms.py | 4 | ||||
-rw-r--r-- | gsxws/diagnostics.py | 2 | ||||
-rw-r--r-- | gsxws/escalations.py | 4 | ||||
-rw-r--r-- | gsxws/lookups.py | 2 | ||||
-rw-r--r-- | gsxws/orders.py | 4 | ||||
-rw-r--r-- | gsxws/repairs.py | 6 | ||||
-rw-r--r-- | gsxws/returns.py | 4 |
7 files changed, 13 insertions, 13 deletions
diff --git a/gsxws/comms.py b/gsxws/comms.py index dc37e9b..3ff1ac3 100644 --- a/gsxws/comms.py +++ b/gsxws/comms.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from core import GsxObject +from .core import GsxObject class Communication(GsxObject): @@ -49,7 +49,7 @@ def ack(id, status): if __name__ == '__main__': import sys import doctest - from core import connect + from .core import connect logging.basicConfig(level=logging.DEBUG) connect(*sys.argv[1:4]) doctest.testmod() diff --git a/gsxws/diagnostics.py b/gsxws/diagnostics.py index f1815e7..2ad1e8c 100644 --- a/gsxws/diagnostics.py +++ b/gsxws/diagnostics.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from core import GsxObject, GsxError +from .core import GsxObject, GsxError class Diagnostics(GsxObject): diff --git a/gsxws/escalations.py b/gsxws/escalations.py index 70f7732..6a1ffbb 100644 --- a/gsxws/escalations.py +++ b/gsxws/escalations.py @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- import os.path -from core import GsxObject -from lookups import Lookup +from .core import GsxObject +from .lookups import Lookup STATUS_OPEN = 'O' STATUS_CLOSED = 'C' diff --git a/gsxws/lookups.py b/gsxws/lookups.py index 6a91e90..e71ff40 100644 --- a/gsxws/lookups.py +++ b/gsxws/lookups.py @@ -5,7 +5,7 @@ import logging import tempfile from datetime import date -from core import GsxObject, connect +from .core import GsxObject, connect class Lookup(GsxObject): diff --git a/gsxws/orders.py b/gsxws/orders.py index c06a073..685e038 100644 --- a/gsxws/orders.py +++ b/gsxws/orders.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from core import GsxObject +from .core import GsxObject class OrderLine(GsxObject): @@ -63,7 +63,7 @@ if __name__ == '__main__': import sys import doctest import logging - from core import connect + from .core import connect logging.basicConfig(level=logging.DEBUG) connect(*sys.argv[1:5]) doctest.testmod() diff --git a/gsxws/repairs.py b/gsxws/repairs.py index 0bea2bd..0252a0a 100644 --- a/gsxws/repairs.py +++ b/gsxws/repairs.py @@ -4,8 +4,8 @@ import sys import logging -from core import GsxObject, GsxError, validate -from lookups import Lookup +from .core import GsxObject, GsxError, validate +from .lookups import Lookup REPAIR_TYPES = ( ('CA', 'Carry-In/Non-Replinished'), @@ -389,7 +389,7 @@ class MailInRepair(Repair): if __name__ == '__main__': import doctest - from core import connect + from .core import connect logging.basicConfig(level=logging.DEBUG) connect(*sys.argv[1:]) doctest.testmod() diff --git a/gsxws/returns.py b/gsxws/returns.py index 2789942..c14ed35 100644 --- a/gsxws/returns.py +++ b/gsxws/returns.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from core import GsxObject, validate +from .core import GsxObject, validate RETURN_TYPES = ( (1, "Dead On Arrival"), @@ -131,7 +131,7 @@ if __name__ == '__main__': import sys import doctest import logging - from core import connect + from .core import connect logging.basicConfig(level=logging.DEBUG) connect(*sys.argv[1:]) doctest.testmod() |