summaryrefslogtreecommitdiff
path: root/buildstream/sandbox
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2018-10-24 10:55:17 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2018-10-25 15:43:52 +0100
commit63c6e6b1af21949749cbe11bcda66b2ddb9d2ec6 (patch)
treee3597d7b4f386db804c0207ca78152609f9e79d9 /buildstream/sandbox
parentdf495d16408f3626265eef5bad46e225cbabc2b1 (diff)
downloadbuildstream-63c6e6b1af21949749cbe11bcda66b2ddb9d2ec6.tar.gz
sandbox/_sandboxchroot.py: Silence warning about unused variable
The variable was unused, remove it. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
Diffstat (limited to 'buildstream/sandbox')
-rw-r--r--buildstream/sandbox/_sandboxchroot.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/buildstream/sandbox/_sandboxchroot.py b/buildstream/sandbox/_sandboxchroot.py
index f19052b23..7a62ed49c 100644
--- a/buildstream/sandbox/_sandboxchroot.py
+++ b/buildstream/sandbox/_sandboxchroot.py
@@ -72,7 +72,6 @@ class SandboxChroot(Sandbox):
# each mount point needs to be mounted from and to
self.mount_map = MountMap(self, flags & SandboxFlags.ROOT_READ_ONLY,
self._FUSE_MOUNT_OPTIONS)
- root_mount_source = self.mount_map.get_mount_source('/')
# Create a sysroot and run the command inside it
with ExitStack() as stack: