summaryrefslogtreecommitdiff
path: root/builder.py
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2011-12-08 14:31:33 +0100
committerSylvain Thénault <sylvain.thenault@logilab.fr>2011-12-08 14:31:33 +0100
commit49e14c536022b0f16888b3096e6d5a462518ceeb (patch)
treedf82734cac63cd12fd100f7b9e65caffcebdc02f /builder.py
parentabb7060af15170685188eb4f2f89827c70596bff (diff)
downloadastroid-git-49e14c536022b0f16888b3096e6d5a462518ceeb.tar.gz
closes #62295: avoid "OSError: Too many open files"
by moving .file_stream as a Module property opening the file only when needed
Diffstat (limited to 'builder.py')
-rw-r--r--builder.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/builder.py b/builder.py
index a7e356e3..9309793d 100644
--- a/builder.py
+++ b/builder.py
@@ -128,7 +128,6 @@ class ASTNGBuilder(InspectBuilder):
# build astng representation
node = self.string_build(data, modname, path)
node.file_encoding = encoding
- node.file_stream = stream
return node
def string_build(self, data, modname='', path=None):