[Zope3-checkins] SVN: Zope3/trunk/src/zope/interface/declarations.py Fixed a bug in the implementer decorater. It wasn't returning the

Jim Fulton jim at zope.com
Thu Feb 17 12:25:21 EST 2005


Log message for revision 29175:
  Fixed a bug in the implementer decorater.  It wasn't returning the
  decorated value.
  

Changed:
  U   Zope3/trunk/src/zope/interface/declarations.py

-=-
Modified: Zope3/trunk/src/zope/interface/declarations.py
===================================================================
--- Zope3/trunk/src/zope/interface/declarations.py	2005-02-17 15:00:30 UTC (rev 29174)
+++ Zope3/trunk/src/zope/interface/declarations.py	2005-02-17 17:25:20 UTC (rev 29175)
@@ -504,6 +504,7 @@
             ob.__implemented__ = spec
         except AttributeError:
             raise TypeError("Can't declare implements", ob)
+        return ob
 
 def _implements(name, interfaces, classImplements):
     frame = sys._getframe(2)



More information about the Zope3-Checkins mailing list