summaryrefslogtreecommitdiff
path: root/buildstream/sandbox/sandbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/sandbox/sandbox.py')
-rw-r--r--buildstream/sandbox/sandbox.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/sandbox/sandbox.py b/buildstream/sandbox/sandbox.py
index 9f0a58628..f5caaa5e1 100644
--- a/buildstream/sandbox/sandbox.py
+++ b/buildstream/sandbox/sandbox.py
@@ -99,8 +99,8 @@ class Sandbox():
self.__directory = directory
self.__root = os.path.join(self.__directory, 'root')
self.__scratch = os.path.join(self.__directory, 'scratch')
- for directory in [self.__root, self.__scratch]:
- os.makedirs(directory, exist_ok=True)
+ for directory_ in [self.__root, self.__scratch]:
+ os.makedirs(directory_, exist_ok=True)
def get_directory(self):
"""Fetches the sandbox root directory