summaryrefslogtreecommitdiff
path: root/buildstream/_platform
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_platform')
-rw-r--r--buildstream/_platform/linux.py2
-rw-r--r--buildstream/_platform/unix.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/_platform/linux.py b/buildstream/_platform/linux.py
index 265352561..5ca1878b9 100644
--- a/buildstream/_platform/linux.py
+++ b/buildstream/_platform/linux.py
@@ -36,7 +36,7 @@ class Linux(Platform):
self._user_ns_available = False
self.check_user_ns_available(context)
- self._artifact_cache = OSTreeCache(context, project, self._user_ns_available)
+ self._artifact_cache = OSTreeCache(context, self._user_ns_available)
def check_user_ns_available(self, context):
diff --git a/buildstream/_platform/unix.py b/buildstream/_platform/unix.py
index a34938a98..6d7b46374 100644
--- a/buildstream/_platform/unix.py
+++ b/buildstream/_platform/unix.py
@@ -32,7 +32,7 @@ class Unix(Platform):
def __init__(self, context, project):
super().__init__(context, project)
- self._artifact_cache = TarCache(context, project)
+ self._artifact_cache = TarCache(context)
# Not necessarily 100% reliable, but we want to fail early.
if os.geteuid() != 0: