[Zope3-checkins] CVS: Zope3/src/zope/app/services - module.py:1.4

Guido van Rossum guido@python.org
Thu, 29 May 2003 16:38:57 -0400


Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv18331

Modified Files:
	module.py 
Log Message:
Make Registry a Persistent class, so the _v_ attributes are skipped
when it is xml-pickled.


=== Zope3/src/zope/app/services/module.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/services/module.py:1.3	Tue May 27 10:18:24 2003
+++ Zope3/src/zope/app/services/module.py	Thu May 29 16:38:57 2003
@@ -23,7 +23,7 @@
 from zope.component import getServiceManager
 from zope.context import ContextMethod
 
-class Registry:
+class Registry(Persistent):
 
     # The registry is found via context, but the PersistentModuleManager
     # doesn't know about context.  To make it behave contextually, this