diff options
author | Gökçen Nurlu <gnurlu1@bloomberg.net> | 2017-12-06 15:15:28 +0000 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2017-12-11 12:12:11 +0100 |
commit | 9c9a9acc45a3ddb6609174c9df5a9cec54cbd54c (patch) | |
tree | 936857f78ab5ae1aa04575b003e7f73c32af047b | |
parent | 6705810163de39059d6054dd69d8421c82dd42e8 (diff) | |
download | buildstream-9c9a9acc45a3ddb6609174c9df5a9cec54cbd54c.tar.gz |
Remove unused variables
-rw-r--r-- | buildstream/_pipeline.py | 1 | ||||
-rw-r--r-- | buildstream/sandbox/_sandboxbwrap.py | 2 |
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. |