diff options
author | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2018-10-10 16:33:41 +0100 |
---|---|---|
committer | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2018-10-30 15:42:05 +0000 |
commit | ec76cbe1b2c8fb73e3d3b402623715b56ade777f (patch) | |
tree | b99a7229aa8cad939cacc367c118125f79fa4115 | |
parent | 9b89564f0ac8e8278207358ec3aa95c61ed19d96 (diff) | |
download | buildstream-ec76cbe1b2c8fb73e3d3b402623715b56ade777f.tar.gz |
sandbox.py: Remove redundant Sandbox.__directory
-rw-r--r-- | buildstream/sandbox/sandbox.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/buildstream/sandbox/sandbox.py b/buildstream/sandbox/sandbox.py index 83714efdd..6aea4b54b 100644 --- a/buildstream/sandbox/sandbox.py +++ b/buildstream/sandbox/sandbox.py @@ -104,8 +104,7 @@ class Sandbox(): # others are private to this class. self._root = os.path.join(directory, 'root') self._output_directory = None - self.__directory = directory - self.__scratch = os.path.join(self.__directory, 'scratch') + self.__scratch = os.path.join(directory, 'scratch') for directory_ in [self._root, self.__scratch]: os.makedirs(directory_, exist_ok=True) self._vdir = None |