summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.pylintrc1
-rw-r--r--buildstream/sandbox/sandbox.py4
2 files changed, 2 insertions, 3 deletions
diff --git a/.pylintrc b/.pylintrc
index 3d7373cf8..21d5e2e98 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -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