[Zope3-checkins] CVS: Zope3/src/persistence - __init__.py:1.3

Jim Fulton jim@zope.com
Sat, 3 May 2003 12:28:51 -0400


Update of /cvs-repository/Zope3/src/persistence
In directory cvs.zope.org:/tmp/cvs-serv22949/src/persistence

Modified Files:
	__init__.py 
Log Message:
Added a classImplements call for Persistent. 
This needs to be done this way because of the way
declarations are made and looked up for builtin classes.



=== Zope3/src/persistence/__init__.py 1.2 => 1.3 ===
--- Zope3/src/persistence/__init__.py:1.2	Wed Dec 25 09:12:13 2002
+++ Zope3/src/persistence/__init__.py	Sat May  3 12:28:50 2003
@@ -19,3 +19,9 @@
 
 import copy_reg
 copy_reg.constructor(simple_new)
+
+# Make an interface declaration for Persistent
+from zope.interface import classImplements
+from persistence.interfaces import IPersistent
+
+classImplements(Persistent, IPersistent)