diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2011-01-11 15:07:07 +0100 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2011-01-11 15:07:07 +0100 |
commit | c2f75e6b5b2fd23d7185a10d6f1929dce02a97a0 (patch) | |
tree | 264e90711f00ac1acd8db21de6860665724926d6 /builder.py | |
parent | 7bbae9019bd7474f66aa2ab878cbe3565f6dd516 (diff) | |
download | astroid-git-c2f75e6b5b2fd23d7185a10d6f1929dce02a97a0.tar.gz |
change ASTManager cache attribute to astng_cache so it doesn't sound protected (actually used externally)
Diffstat (limited to 'builder.py')
-rw-r--r-- | builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -142,7 +142,7 @@ class ASTNGBuilder(InspectBuilder): """build astng from source code string and return rebuilded astng""" module = self._data_build(data, modname, path) if self._manager is not None: - self._manager._cache[module.name] = module + self._manager.astng_cache[module.name] = module # post tree building steps after we stored the module in the cache: for from_node in module._from_nodes: self.add_from_names_to_locals(from_node) |