summaryrefslogtreecommitdiff
path: root/buildstream/_platform
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-02-24 10:56:45 +0100
committerJürg Billeter <j@bitron.ch>2018-02-24 11:03:37 +0000
commit34bf8a0d74af03fbf68e96259e09815d0b48b622 (patch)
tree337e1d44250f225ecc174e92f1fb4b4791f7219c /buildstream/_platform
parentcacb34a7e93ab77d3c1926ff298803acbc219f5b (diff)
downloadbuildstream-34bf8a0d74af03fbf68e96259e09815d0b48b622.tar.gz
_artifactcache/ostreecache.py: Make enable_push a keyword argument
Boolean positional arguments can be confusing.
Diffstat (limited to 'buildstream/_platform')
-rw-r--r--buildstream/_platform/linux.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_platform/linux.py b/buildstream/_platform/linux.py
index 5ca1878b9..c180cc60a 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, self._user_ns_available)
+ self._artifact_cache = OSTreeCache(context, enable_push=self._user_ns_available)
def check_user_ns_available(self, context):