[Zope3-checkins] CVS: Zope3/src/zope/app/component - classfactory.py:1.3

Jim Fulton jim@zope.com
Sat, 3 May 2003 12:32:42 -0400


Update of /cvs-repository/Zope3/src/zope/app/component
In directory cvs.zope.org:/tmp/cvs-serv23570/src/zope/app/component

Modified Files:
	classfactory.py 
Log Message:
Changed to use a new-style interface declaration. 



=== Zope3/src/zope/app/component/classfactory.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/component/classfactory.py:1.2	Wed Dec 25 09:12:45 2002
+++ Zope3/src/zope/app/component/classfactory.py	Sat May  3 12:32:41 2003
@@ -13,12 +13,13 @@
 ##############################################################################
 "$Id$"
 
+from zope.interface import implements
 from zope.component.interfaces import IFactory
 
 class ClassFactory:
     "Class that creates a factory component from a class"
 
-    __implements__ = IFactory
+    implements(IFactory)
 
     def __init__(self, _class):
         self._class = _class