[Zope3-checkins] CVS: Zope3/lib/python/Persistence - Module.py:1.26
Jeremy Hylton
jeremy@zope.com
Tue, 8 Oct 2002 09:33:02 -0400
Update of /cvs-repository/Zope3/lib/python/Persistence
In directory cvs.zope.org:/tmp/cvs-serv8115
Modified Files:
Module.py
Log Message:
A registry isn't necessarily a persistent object.
=== Zope3/lib/python/Persistence/Module.py 1.25 => 1.26 ===
--- Zope3/lib/python/Persistence/Module.py:1.25 Mon Oct 7 19:29:03 2002
+++ Zope3/lib/python/Persistence/Module.py Tue Oct 8 09:33:01 2002
@@ -115,7 +115,6 @@
self._module._p_changed = True
moddict = self._module.__dict__
copy = moddict.copy()
- self._registry._p_activate() # should lock
moddict[__persistent_module_registry__] = self._registry
exec source in moddict
del moddict[__persistent_module_registry__]