summaryrefslogtreecommitdiff
path: root/buildstream/_platform
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_platform')
-rw-r--r--buildstream/_platform/darwin.py2
-rw-r--r--buildstream/_platform/linux.py2
-rw-r--r--buildstream/_platform/platform.py6
-rw-r--r--buildstream/_platform/unix.py2
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):