Merged revisions 73744 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73744 | benjamin.peterson | 2009-07-01 08:34:35 -0500 (Wed, 01 Jul 2009) | 1 line
proxy the __exit__ call
........
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index 8cdefaa..93405a8 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -410,7 +410,7 @@
return result
else:
def __exit__(self, exc, value, tb):
- pass
+ self.file.__exit__(exc, value, tb)
def NamedTemporaryFile(mode='w+b', buffering=-1, encoding=None,