[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/basic - standardmacros.py:1.5

Philipp von Weitershausen philikon@philikon.de
Fri, 6 Jun 2003 17:35:48 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/skins/basic
In directory cvs.zope.org:/tmp/cvs-serv27561/skins/basic

Modified Files:
	standardmacros.py 
Log Message:
New interface declaration.


=== Zope3/src/zope/app/browser/skins/basic/standardmacros.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/skins/basic/standardmacros.py:1.4	Wed Apr 30 19:37:57 2003
+++ Zope3/src/zope/app/browser/skins/basic/standardmacros.py	Fri Jun  6 17:35:18 2003
@@ -17,13 +17,14 @@
 
 $Id$
 """
+from zope.interface import implements
 from zope.interface.common.mapping import IItemMapping
 from zope.component import getView
 from zope.publisher.browser import BrowserView
 
 class Macros:
 
-    __implements__ = IItemMapping
+    implements(IItemMapping)
 
     macro_pages = ()
 
@@ -42,7 +43,5 @@
 
 
 class StandardMacros(BrowserView, Macros):
-
-    __implements__ = BrowserView.__implements__, Macros.__implements__
 
     macro_pages = ('view_macros', 'dialog_macros')