Loading buildstream/_platform/platform.py +2 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import sys import resource from .._exceptions import PlatformError, ImplError from .._artifactcache.cascache import CASCache class Platform(): Loading @@ -39,6 +40,7 @@ class Platform(): def __init__(self, context): self.context = context self.set_resources() self._artifact_cache = CASCache(context) @classmethod def create_instance(cls, *args, **kwargs): Loading buildstream/_platform/unix.py +0 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,6 @@ class Unix(Platform): def __init__(self, context): super().__init__(context) self._artifact_cache = CASCache(context) # Not necessarily 100% reliable, but we want to fail early. if os.geteuid() != 0: Loading Loading
buildstream/_platform/platform.py +2 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import sys import resource from .._exceptions import PlatformError, ImplError from .._artifactcache.cascache import CASCache class Platform(): Loading @@ -39,6 +40,7 @@ class Platform(): def __init__(self, context): self.context = context self.set_resources() self._artifact_cache = CASCache(context) @classmethod def create_instance(cls, *args, **kwargs): Loading
buildstream/_platform/unix.py +0 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,6 @@ class Unix(Platform): def __init__(self, context): super().__init__(context) self._artifact_cache = CASCache(context) # Not necessarily 100% reliable, but we want to fail early. if os.geteuid() != 0: Loading