[CMF-checkins] CVS: CMF/CMFCore/interfaces - Syndicatable.py:1.3

Yvo Schubbe schubbe@web.de
Mon, 6 Jan 2003 15:38:13 -0500


Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv20193/CMFCore/interfaces

Modified Files:
	Syndicatable.py 
Log Message:
Merged yuppie-collector096-branch:
- Cleaned up Interfaces and API Help. (Collector #96)
- Removed deprecated 'register' module and interface.

=== CMF/CMFCore/interfaces/Syndicatable.py 1.2 => 1.3 ===
--- CMF/CMFCore/interfaces/Syndicatable.py:1.2	Wed Nov 28 14:06:24 2001
+++ CMF/CMFCore/interfaces/Syndicatable.py	Mon Jan  6 15:38:09 2003
@@ -10,12 +10,19 @@
 # FOR A PARTICULAR PURPOSE
 # 
 ##############################################################################
-"""\
-Declare interface for synContentValues 
+""" Syndicatable interface.
+
+$Id$
 """
-import Interface
 
-class Syndicatable(Interface.Base):
+try:
+    from Interface import Interface
+except ImportError:
+    # for Zope versions before 2.6.0
+    from Interface import Base as Interface
+
+
+class Syndicatable(Interface):
     """\
     Returns back a list of objects which implements the DublinCore.
     """