[Zodb-checkins] CVS: Zope3/src/persistence - _persistent.py:1.2.28.1 cache.py:1.9.2.1

Grégoire Weber zope at i-con.ch
Sun Jun 22 11:24:28 EDT 2003


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

Modified Files:
      Tag: cw-mail-branch
	_persistent.py cache.py 
Log Message:
Synced up with HEAD

=== Zope3/src/persistence/_persistent.py 1.2 => 1.2.28.1 ===
--- Zope3/src/persistence/_persistent.py:1.2	Wed Dec 25 09:12:13 2002
+++ Zope3/src/persistence/_persistent.py	Sun Jun 22 10:22:22 2003
@@ -13,6 +13,7 @@
 ##############################################################################
 from time import time
 from persistence.interfaces import IPersistent
+from zope.interface import implements
 
 
 def _p_get_changed(self):
@@ -58,7 +59,7 @@
     """Mix-in class providing IPersistent support
     """
 
-    __implements__ = IPersistent
+    implements(IPersistent)
 
     _p_changed = property(_p_get_changed, _p_set_changed, _p_del_changed,
                           "set _p_changed to 1 to indicate a change")


=== Zope3/src/persistence/cache.py 1.9 => 1.9.2.1 ===
--- Zope3/src/persistence/cache.py:1.9	Tue May 20 14:38:50 2003
+++ Zope3/src/persistence/cache.py	Sun Jun 22 10:22:22 2003
@@ -17,12 +17,14 @@
 
 import logging
 
+from zope.interface import implements
+
 from persistence.interfaces import ICache
 from persistence._persistence import GHOST
 
 class Cache(object):
 
-    __implements__ = ICache
+    implements(ICache)
 
     def __init__(self, size=500, inactive=300):
         self._ghosts = {}




More information about the Zodb-checkins mailing list