[CMF-checkins] CVS: CMF/CMFCore/interfaces - DublinCore.py:1.4
Yvo Schubbe
schubbe@web.de
Mon, 6 Jan 2003 15:38:03 -0500
Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv20118/CMFCore/interfaces
Modified Files:
DublinCore.py
Log Message:
Merged yuppie-collector096-branch:
- Cleaned up Interfaces and API Help. (Collector #96)
- Removed deprecated 'register' module and interface.
=== CMF/CMFCore/interfaces/DublinCore.py 1.3 => 1.4 ===
--- CMF/CMFCore/interfaces/DublinCore.py:1.3 Wed Nov 28 14:06:24 2001
+++ CMF/CMFCore/interfaces/DublinCore.py Mon Jan 6 15:38:00 2003
@@ -10,11 +10,21 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-import Interface
+""" Dublin Core interface.
-class DublinCore(Interface.Base):
+$Id$
+"""
+
+try:
+ from Interface import Interface
+except ImportError:
+ # for Zope versions before 2.6.0
+ from Interface import Base as Interface
+
+
+class DublinCore(Interface):
"""
- Define which Dublin Core metadata elements are supported by the PTK,
+ Define which Dublin Core metadata elements are supported by the CMF,
and the semantics therof.
"""
@@ -172,7 +182,7 @@
Permissions: View
"""
-class CatalogableDublinCore(Interface.Base):
+class CatalogableDublinCore(Interface):
"""
Provide Zope-internal date objects for cataloging purposes.
"""
@@ -208,7 +218,7 @@
Permissions: View
"""
-class MutableDublinCore(Interface.Base):
+class MutableDublinCore(Interface):
"""
Update interface for mutable metadata.
"""