[Zope3-checkins] CVS: Zope3/src/zope/app/container/browser -
adding.py:1.6
Bjorn Tillenius
bjoti777 at student.liu.se
Mon May 10 10:35:39 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/container/browser
In directory cvs.zope.org:/tmp/cvs-serv22202
Modified Files:
adding.py
Log Message:
Fixed bug. name was supplied as the default argument to queryUtility.
=== Zope3/src/zope/app/container/browser/adding.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/container/browser/adding.py:1.5 Mon May 10 02:38:54 2004
+++ Zope3/src/zope/app/container/browser/adding.py Mon May 10 10:34:58 2004
@@ -106,7 +106,7 @@
if view is not None:
return view
- factory = zapi.queryUtility(self.context, IFactory, name)
+ factory = zapi.queryUtility(self.context, IFactory, name=name)
if factory is None:
return super(BasicAdding, self).publishTraverse(request, name)
More information about the Zope3-Checkins
mailing list