[Zope3-checkins] CVS: Zope3/src/persistence - __init__.py:1.2.22.1
Jim Fulton
jim@zope.com
Fri, 2 May 2003 14:56:09 -0400
Update of /cvs-repository/Zope3/src/persistence
In directory cvs.zope.org:/tmp/cvs-serv2097/src/persistence
Modified Files:
Tag: interfacegeddon-branch
__init__.py
Log Message:
Got unit tests to pass (and made this branch a full branch).
I'll make detailed comments when I merge.
=== Zope3/src/persistence/__init__.py 1.2 => 1.2.22.1 ===
--- Zope3/src/persistence/__init__.py:1.2 Wed Dec 25 09:12:13 2002
+++ Zope3/src/persistence/__init__.py Fri May 2 14:55:38 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)