[Zope3-checkins]
SVN: Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/annotatableadapter.py
Merged from trunk:
Jim Fulton
jim at zope.com
Fri Jul 9 18:31:04 EDT 2004
Log message for revision 26381:
Merged from trunk:
r26365 | jim | 2004-07-09 15:38:37 -0400 (Fri, 09 Jul 2004) | 2 lines
Made DC adapters Locations in preparation for making them trusted adapters.
-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/annotatableadapter.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/annotatableadapter.py 2004-07-09 22:27:02 UTC (rev 26380)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/annotatableadapter.py 2004-07-09 22:31:03 UTC (rev 26381)
@@ -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