[Zope-CVS] CVS: Packages/Moztop/CMFMoztop - MoztopSupportTool.py:1.2
Sidnei da Silva
sidnei@x3ng.com.br
Fri, 28 Feb 2003 10:24:18 -0500
Update of /cvs-repository/Packages/Moztop/CMFMoztop
In directory cvs.zope.org:/tmp/cvs-serv13470
Modified Files:
MoztopSupportTool.py
Log Message:
Fix to make it work with cmf1.3
=== Packages/Moztop/CMFMoztop/MoztopSupportTool.py 1.1 => 1.2 ===
--- Packages/Moztop/CMFMoztop/MoztopSupportTool.py:1.1 Fri Feb 21 10:41:24 2003
+++ Packages/Moztop/CMFMoztop/MoztopSupportTool.py Fri Feb 28 10:24:17 2003
@@ -35,7 +35,11 @@
""" Moztop Support Tool.
"""
- __implements__ = (IMoztopTool, ActionProviderBase.__implements__)
+ try:
+ __implements__ = (IMoztopTool, ActionProviderBase.__implements__)
+ except AttributeError:
+ # CMF 1.3 APB didnt had an __implements
+ __implements__ = (IMoztopTool,)
id = 'moztop_support'
meta_type = 'Moztop Support Tool'