From e7089b04e59ae1cf7a24649ec2ef64af56eb7dce Mon Sep 17 00:00:00 2001 From: Marek Siarkowicz Date: Mon, 15 Jun 2015 17:46:22 +0200 Subject: Use absolute package imports. --- parrot_zik/interface/base.py | 6 +++--- parrot_zik/interface/version1.py | 8 ++++---- parrot_zik/interface/version2.py | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) (limited to 'parrot_zik/interface') diff --git a/parrot_zik/interface/base.py b/parrot_zik/interface/base.py index 1611874..225e53f 100644 --- a/parrot_zik/interface/base.py +++ b/parrot_zik/interface/base.py @@ -1,6 +1,6 @@ -from .. import resource_manager -from ..indicator import MenuItem -from ..model.base import BatteryStates +from parrot_zik import resource_manager +from parrot_zik.indicator import MenuItem +from parrot_zik.model.base import BatteryStates RECONNECT_FREQUENCY = 5000 diff --git a/parrot_zik/interface/version1.py b/parrot_zik/interface/version1.py index 1af71ec..6ddd1b5 100644 --- a/parrot_zik/interface/version1.py +++ b/parrot_zik/interface/version1.py @@ -1,7 +1,7 @@ -from .. import resource_manager -from ..indicator import MenuItem -from ..interface.base import ParrotZikBaseInterface -from ..model.version1 import ParrotZikVersion1 +from parrot_zik import resource_manager +from parrot_zik.indicator import MenuItem +from parrot_zik.interface.base import ParrotZikBaseInterface +from parrot_zik.model.version1 import ParrotZikVersion1 class ParrotZikVersion1Interface(ParrotZikBaseInterface): diff --git a/parrot_zik/interface/version2.py b/parrot_zik/interface/version2.py index c348bb4..74fdcc9 100644 --- a/parrot_zik/interface/version2.py +++ b/parrot_zik/interface/version2.py @@ -1,11 +1,11 @@ import functools -from .. import resource_manager -from ..indicator import MenuItem, Menu -from .base import ParrotZikBaseInterface -from ..model.version2 import ParrotZikVersion2 -from ..model.version2 import NoiseControlTypes -from ..model.version2 import Rooms +from parrot_zik import resource_manager +from parrot_zik.indicator import MenuItem, Menu +from parrot_zik.interface.base import ParrotZikBaseInterface +from parrot_zik.model.version2 import ParrotZikVersion2 +from parrot_zik.model.version2 import NoiseControlTypes +from parrot_zik.model.version2 import Rooms class ParrotZikVersion2Interface(ParrotZikBaseInterface): -- cgit v1.2.1