Merge pull request #1584 from nikoder/nikoder_fix_tool_caching

Add tooldir to cache-check on loading module in Configure context.
This commit is contained in:
ita1024 2015-06-10 17:54:28 +02:00
commit a12bfc9a94
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ class ConfigurationContext(Context.Context):
# avoid loading the same tool more than once with the same functions
# used by composite projects
mag = (tool, id(self.env), funs)
mag = (tool, id(self.env), tooldir, funs)
if mag in self.tool_cache:
self.to_log('(tool %s is already loaded, skipping)' % tool)
continue