summaryrefslogtreecommitdiff
path: root/builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'builder.py')
-rw-r--r--builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder.py b/builder.py
index 8f82c65e..40ea7849 100644
--- a/builder.py
+++ b/builder.py
@@ -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)