[Zope-Checkins] CVS: Zope3/lib/python/Zope/ComponentArchitecture - hooks.py:1.1.2.19.4.3
Gary Poster
garyposter@earthlink.net
Tue, 2 Apr 2002 11:52:41 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/ComponentArchitecture
In directory cvs.zope.org:/tmp/cvs-serv3016/lib/python/Zope/ComponentArchitecture
Modified Files:
Tag: gary-pre_create_views-branch
hooks.py
Log Message:
fixed a few approaches to jibe with unit test assumptions
=== Zope3/lib/python/Zope/ComponentArchitecture/hooks.py 1.1.2.19.4.2 => 1.1.2.19.4.3 ===
# XXX: place is ignored at present, as we don't yet
# have placeful factories
- try: return _factories[name](args, kwargs)
+ try: return _factories[name](*args, **kwargs)
except KeyError:
raise ComponentLookupError(name)