diff options
author | James Ennis <james.ennis@codethink.com> | 2018-02-19 09:58:35 +0000 |
---|---|---|
committer | James Ennis <james.ennis@codethink.com> | 2018-03-14 17:31:06 +0000 |
commit | 4cfa0bdffbaacfbaf12ec8c6ab2f52bace0ef716 (patch) | |
tree | f4a1030750a929e0413e461fca6036701bee3406 /buildstream/sandbox | |
parent | 432ddffdcb917e2b5a70b2cce0459be1b5881ad1 (diff) | |
download | buildstream-4cfa0bdffbaacfbaf12ec8c6ab2f52bace0ef716.tar.gz |
pylint - dealt with redefined-argument-from-local warning
Diffstat (limited to 'buildstream/sandbox')
-rw-r--r-- | buildstream/sandbox/sandbox.py | 4 |
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 |