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

Jim Fulton jim@zope.com
Fri, 2 May 2003 14:56:10 -0400


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

Modified Files:
      Tag: interfacegeddon-branch
	classfactory.py 
Log Message:
Got unit tests to pass (and made this branch a full branch).

I'll make detailed comments when I merge.


=== Zope3/src/zope/app/component/classfactory.py 1.2 => 1.2.20.1 ===
--- Zope3/src/zope/app/component/classfactory.py:1.2	Wed Dec 25 09:12:45 2002
+++ Zope3/src/zope/app/component/classfactory.py	Fri May  2 14:55:40 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