From 1149f7e6087462dd46ce773b01b2ee7cc8552429 Mon Sep 17 00:00:00 2001
From: Jonathan Maw <jonathan.maw@codethink.co.uk>
Date: Wed, 10 Oct 2018 16:33:41 +0100
Subject: [PATCH] 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 83714efdd1..6aea4b54b7 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
-- 
GitLab