diff options
Diffstat (limited to 'buildstream/_platform')
-rw-r--r-- | buildstream/_platform/darwin.py | 2 | ||||
-rw-r--r-- | buildstream/_platform/linux.py | 2 | ||||
-rw-r--r-- | buildstream/_platform/platform.py | 6 | ||||
-rw-r--r-- | buildstream/_platform/unix.py | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/buildstream/_platform/darwin.py b/buildstream/_platform/darwin.py index 8df8cda24..8e08685ec 100644 --- a/buildstream/_platform/darwin.py +++ b/buildstream/_platform/darwin.py @@ -19,7 +19,7 @@ import os from ..sandbox import SandboxDummy -from . import Platform +from .platform import Platform class Darwin(Platform): diff --git a/buildstream/_platform/linux.py b/buildstream/_platform/linux.py index 85e810c26..e4ce02572 100644 --- a/buildstream/_platform/linux.py +++ b/buildstream/_platform/linux.py @@ -24,7 +24,7 @@ from .. import _site from .. import utils from ..sandbox import SandboxDummy -from . import Platform +from .platform import Platform from .._exceptions import PlatformError diff --git a/buildstream/_platform/platform.py b/buildstream/_platform/platform.py index 73ed571fe..eef07812a 100644 --- a/buildstream/_platform/platform.py +++ b/buildstream/_platform/platform.py @@ -50,11 +50,11 @@ class Platform(): backend = 'unix' if backend == 'linux': - from .linux import Linux as PlatformImpl + from .linux import Linux as PlatformImpl # pylint: disable=cyclic-import elif backend == 'darwin': - from .darwin import Darwin as PlatformImpl + from .darwin import Darwin as PlatformImpl # pylint: disable=cyclic-import elif backend == 'unix': - from .unix import Unix as PlatformImpl + from .unix import Unix as PlatformImpl # pylint: disable=cyclic-import else: raise PlatformError("No such platform: '{}'".format(backend)) diff --git a/buildstream/_platform/unix.py b/buildstream/_platform/unix.py index bbc55c3af..d04b0712c 100644 --- a/buildstream/_platform/unix.py +++ b/buildstream/_platform/unix.py @@ -21,7 +21,7 @@ import os from .._exceptions import PlatformError -from . import Platform +from .platform import Platform class Unix(Platform): |