[Zope3-checkins] CVS: Zope3/src/zope/app/dublincore - creatorannotator.py:1.4 timeannotators.py:1.4 zopedublincore.py:1.4

Steve Alexander steve@cat-box.net
Fri, 6 Jun 2003 17:22:16 -0400


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

Modified Files:
	creatorannotator.py timeannotators.py zopedublincore.py 
Log Message:
new interface declarations


=== Zope3/src/zope/app/dublincore/creatorannotator.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/dublincore/creatorannotator.py:1.3	Wed May 21 13:26:38 2003
+++ Zope3/src/zope/app/dublincore/creatorannotator.py	Fri Jun  6 17:21:46 2003
@@ -21,11 +21,12 @@
 from zope.app.interfaces.dublincore import IZopeDublinCore
 from zope.app.interfaces.event import ISubscriber
 from zope.security.management import getSecurityManager
+from zope.interface import implements
 
 class CreatorAnnotatorClass:
     """Update Dublin-Core creator property
     """
-    __implements__ = ISubscriber
+    implements(ISubscriber)
 
     def notify(self, event):
         dc = queryAdapter(event.object, IZopeDublinCore)


=== Zope3/src/zope/app/dublincore/timeannotators.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/dublincore/timeannotators.py:1.3	Mon Dec 30 09:03:00 2002
+++ Zope3/src/zope/app/dublincore/timeannotators.py	Fri Jun  6 17:21:46 2003
@@ -21,11 +21,12 @@
 from zope.component import queryAdapter
 from zope.app.interfaces.dublincore import IZopeDublinCore
 from zope.app.interfaces.event import ISubscriber
+from zope.interface import implements
 
 class DCTimeAnnotatorClass:
     """Update Dublin-Core time property
     """
-    __implements__ = ISubscriber
+    implements(ISubscriber)
 
     def __init__(self, property):
         self.property = property


=== Zope3/src/zope/app/dublincore/zopedublincore.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/dublincore/zopedublincore.py:1.3	Wed Jan  8 15:18:28 2003
+++ Zope3/src/zope/app/dublincore/zopedublincore.py	Fri Jun  6 17:21:46 2003
@@ -20,6 +20,7 @@
 from zope.app.interfaces.dublincore import IZopeDublinCore
 from zope.app.datetimeutils import parseDatetimetz
 from datetime import datetime
+from zope.interface import implements
 
 class SimpleProperty:
 
@@ -97,8 +98,7 @@
     Just mix with Persistence to get a persistent version.
     """
 
-
-    __implements__ =  IZopeDublinCore
+    implements(IZopeDublinCore)
 
     def __init__(self, mapping=None):
         if mapping is None: