[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/DublinCore - TimeAnnotators.py:1.3
Jim Fulton
jim@zope.com
Mon, 18 Nov 2002 17:37:31 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/DublinCore
In directory cvs.zope.org:/tmp/cvs-serv17245
Modified Files:
TimeAnnotators.py
Log Message:
Added interface assertion.
=== Zope3/lib/python/Zope/App/DublinCore/TimeAnnotators.py 1.2 => 1.3 ===
--- 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 Nov 18 17:37:30 2002
@@ -20,11 +20,13 @@
from datetime import datetime
from Zope.ComponentArchitecture import queryAdapter
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