[Zope-Checkins] CVS: Zope3/lib/python/Persistence - Module.py:1.5

Jeremy Hylton jeremy@zope.com
Mon, 24 Jun 2002 16:06:52 -0400


Update of /cvs-repository/Zope3/lib/python/Persistence
In directory cvs.zope.org:/tmp/cvs-serv12209

Modified Files:
	Module.py 
Log Message:
Fix access to builtin names




=== Zope3/lib/python/Persistence/Module.py 1.4 => 1.5 ===
     def __setstate__(self, state):
         import __builtin__
-        state["__builtins__"] = state
+        state["__builtins__"] = __builtin__
         self.__dict__.update(state)
 
 class PersistentModuleLoader(ihooks.BasicModuleLoader):