[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/DublinCore - TimeAnnotators.py:1.2.4.1
Suresh Babu Eddala
sbabu@zeomega.com
Mon, 21 Oct 2002 11:40:27 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/DublinCore
In directory cvs.zope.org:/tmp/cvs-serv9782/lib/python/Zope/App/DublinCore
Modified Files:
Tag: Zope3-Bangalore-TTW-Branch
TimeAnnotators.py
Log Message:
Implemented ISubscriber
=== Zope3/lib/python/Zope/App/DublinCore/TimeAnnotators.py 1.2 => 1.2.4.1 ===
--- Zope3/lib/python/Zope/App/DublinCore/TimeAnnotators.py:1.2 Fri Oct 4 15:05:50 2002
+++ Zope3/lib/python/Zope/App/DublinCore/TimeAnnotators.py Mon Oct 21 11:40:27 2002
@@ -19,12 +19,14 @@
from datetime import datetime
from Zope.ComponentArchitecture import queryAdapter
-from Zope.App.DublinCore.IZopeDublinCore import IZopeDublinCore
+from Zope.App.DublinCore.IZopeDublinCore import IZopeDublinCore
+from Zope.Event.ISubscriber import ISubscriber
class DCTimeAnnotatorClass:
"""Update Dublin-Core time property
"""
-
+ __implements__ = ISubscriber
+
def __init__(self, property):
self.property = property