[Zope-Checkins] CVS: Packages/ZODB - FileStorage.py:1.72
Jeremy Hylton
jeremy@zope.com
Mon, 22 Oct 2001 15:53:16 -0400
Update of /cvs-repository/Packages/ZODB
In directory cvs.zope.org:/tmp/cvs-serv10899
Modified Files:
FileStorage.py
Log Message:
Do not store traceback in local variable.
Prevents memory leak for each _restore_index() call.
=== Packages/ZODB/FileStorage.py 1.71 => 1.72 ===
info=p.load()
except:
- exc, err, tb = sys.exc_info()
+ exc, err = sys.exc_info()[:2]
warn("Failed to load database index: %s: %s" %
(exc, err))
return None