summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildstream/_pipeline.py1
-rw-r--r--buildstream/sandbox/_sandboxbwrap.py2
2 files changed, 0 insertions, 3 deletions
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py
index 26e79cc5f..5c39375cc 100644
--- a/buildstream/_pipeline.py
+++ b/buildstream/_pipeline.py
@@ -423,7 +423,6 @@ class Pipeline():
self.message(MessageType.START, "Starting build")
elapsed, status = scheduler.run(queues)
- built = len(build.processed_elements)
if status == SchedStatus.ERROR:
self.message(MessageType.FAIL, "Build failed", elapsed=elapsed)
diff --git a/buildstream/sandbox/_sandboxbwrap.py b/buildstream/sandbox/_sandboxbwrap.py
index 9367b1d36..f926e3de2 100644
--- a/buildstream/sandbox/_sandboxbwrap.py
+++ b/buildstream/sandbox/_sandboxbwrap.py
@@ -55,8 +55,6 @@ class SandboxBwrap(Sandbox):
def run(self, command, flags, *, cwd=None, env=None):
stdout, stderr = self._get_output()
root_directory = self.get_directory()
- scratch_directory = self._get_scratch_directory()
- scratch_tempdir = os.path.join(scratch_directory, 'temp')
# Fallback to the sandbox default settings for
# the cwd and env.