From ec76cbe1b2c8fb73e3d3b402623715b56ade777f Mon Sep 17 00:00:00 2001 From: Jonathan Maw Date: Wed, 10 Oct 2018 16:33:41 +0100 Subject: sandbox.py: Remove redundant Sandbox.__directory --- buildstream/sandbox/sandbox.py | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1