[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/dublincore/annotatableadapter.py
Made DC adapters Locations in preparation for making them
trusted adapters.
Jim Fulton
jim at zope.com
Fri Jul 9 15:38:37 EDT 2004
Log message for revision 26365:
Made DC adapters Locations in preparation for making them trusted adapters.
-=-
Modified: Zope3/trunk/src/zope/app/dublincore/annotatableadapter.py
===================================================================
--- Zope3/trunk/src/zope/app/dublincore/annotatableadapter.py 2004-07-09 19:36:39 UTC (rev 26364)
+++ Zope3/trunk/src/zope/app/dublincore/annotatableadapter.py 2004-07-09 19:38:37 UTC (rev 26365)
@@ -18,12 +18,13 @@
from zope.app.annotation.interfaces import IAnnotations, IAnnotatable
from zope.app.dublincore.zopedublincore import ZopeDublinCore
+from zope.app.location import Location
DCkey = "zope.app.dublincore.ZopeDublinCore"
-class ZDCAnnotatableAdapter(ZopeDublinCore):
+class ZDCAnnotatableAdapter(ZopeDublinCore, Location):
"""Adapt annotatable objects to Zope Dublin Core."""
__used_for__ = IAnnotatable
More information about the Zope3-Checkins
mailing list