summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-05 18:54:24 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-05 18:54:24 +0900
commit34210d1e99d43358ddb9e683f476995137f67226 (patch)
treeb444f556a091b6ba67be2bbe04129c33619c9f8e
parenta4eb8bd2fe590ff923c8123cf580d8a587c15c55 (diff)
downloadbuildstream-34210d1e99d43358ddb9e683f476995137f67226.tar.gz
_platform/linux.py: Fix fallout from context private symbols refactor
This was still calling an outdated version of Context._message(), which is now Context.message(), causing stack traces on platforms without support for user namespaces. This was fallout from commit 500f4f330fde8b6001a2f8d8921bd5b8acb79960
-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 3b179f34d..c4e87de1d 100644
--- a/buildstream/_platform/linux.py
+++ b/buildstream/_platform/linux.py
@@ -75,7 +75,7 @@ class Linux(Platform):
return True
else:
- context._message(
+ context.message(
Message(None, MessageType.WARN,
"Unable to create user namespaces with bubblewrap, resorting to fallback",
detail="Some builds may not function due to lack of uid / gid 0, " +