diff options
-rw-r--r-- | .pylintrc | 1 | ||||
-rw-r--r-- | buildstream/sandbox/sandbox.py | 4 |
2 files changed, 2 insertions, 3 deletions
@@ -117,7 +117,6 @@ disable=##################################### cyclic-import, # These are hard to spot without linting, but easy to fix - redefined-argument-from-local, redefined-builtin, redefined-outer-name, 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 |