summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbderrahim Kitouni <akitouni@gnome.org>2020-12-02 14:25:05 +0100
committerAbderrahim Kitouni <akitouni@gnome.org>2020-12-02 14:25:05 +0100
commit59b4339468a63581af10e626c6ec6936184f4086 (patch)
tree9ec74446550f6ae720ce5a5a86ce2e412a42f18c
parent58d9e66e0edd46c53516482f507b740e2447b745 (diff)
downloadbuildstream-abderrahim/linux32-typo.tar.gz
_sandboxbwrap.py: fix typo in the linux32 variableabderrahim/linux32-typo
it was self.linux32 in places and self._linux32 in others.
-rw-r--r--buildstream/sandbox/_sandboxbwrap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/sandbox/_sandboxbwrap.py b/buildstream/sandbox/_sandboxbwrap.py
index 7aa8f31c8..e296640c8 100644
--- a/buildstream/sandbox/_sandboxbwrap.py
+++ b/buildstream/sandbox/_sandboxbwrap.py
@@ -53,7 +53,7 @@ class SandboxBwrap(Sandbox):
super().__init__(*args, **kwargs)
self.user_ns_available = kwargs['user_ns_available']
self.die_with_parent_available = kwargs['die_with_parent_available']
- self.linux32 = False
+ self._linux32 = False
host_os, _, _, _, host_arch = os.uname()
config = self._get_config()
@@ -104,7 +104,7 @@ class SandboxBwrap(Sandbox):
cwd = '/'
# start command with linux32 if needed
- if self.linux32:
+ if self._linux32:
bwrap_command = [utils.get_host_tool('linux32')]
else:
bwrap_command = []