diff options
Diffstat (limited to 'buildstream/_context.py')
-rw-r--r-- | buildstream/_context.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/buildstream/_context.py b/buildstream/_context.py index 2db13cf98..e98b0761d 100644 --- a/buildstream/_context.py +++ b/buildstream/_context.py @@ -153,14 +153,14 @@ class Context(): 'scheduler', 'artifacts', 'logging', 'projects', ]) - for dir in ['sourcedir', 'builddir', 'artifactdir', 'logdir']: + for directory in ['sourcedir', 'builddir', 'artifactdir', 'logdir']: # Allow the ~ tilde expansion and any environment variables in # path specification in the config files. # - path = _yaml.node_get(defaults, str, dir) + path = _yaml.node_get(defaults, str, directory) path = os.path.expanduser(path) path = os.path.expandvars(path) - setattr(self, dir, path) + setattr(self, directory, path) # Load artifact share configuration self.artifact_cache_specs = artifact_cache_specs_from_config_node(defaults) |