[Zope3-checkins] CVS: Zope3/src/zope/app/component - hooks.py:1.5.8.5
Steve Alexander
steve@cat-box.net
Wed, 14 May 2003 10:18:02 -0400
Update of /cvs-repository/Zope3/src/zope/app/component
In directory cvs.zope.org:/tmp/cvs-serv3789/src/zope/app/component
Modified Files:
Tag: stevea-decorators-branch
hooks.py
Log Message:
Changed interface spec. combination to use the overloaded + operator.
=== Zope3/src/zope/app/component/hooks.py 1.5.8.4 => 1.5.8.5 ===
--- Zope3/src/zope/app/component/hooks.py:1.5.8.4 Wed May 14 10:14:16 2003
+++ Zope3/src/zope/app/component/hooks.py Wed May 14 10:18:02 2003
@@ -107,8 +107,8 @@
attrdict['__Security_checker__'] = checker
if spec.mixinInterfaceSpec is not None:
- attrdict['__providedBy__'] = InterfaceSpecification(
- spec.mixinInterfaceSpec, providedBy(unproxied_ob))
+ attrdict['__providedBy__'] = (
+ spec.mixinInterfaceSpec + providedBy(unproxied_ob))
d = Decorator(unproxied_ob, parent, spec.mixinFactory, spec.names,
attrdict, inner, **kw)