[Zope3-checkins] CVS: Zope3/src/zope/component - __init__.py:1.23

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Mar 9 19:58:32 EST 2004


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

Modified Files:
	__init__.py 
Log Message:


Fixed bug that caused mis-behavior.




=== Zope3/src/zope/component/__init__.py 1.22 => 1.23 ===
--- Zope3/src/zope/component/__init__.py:1.22	Tue Mar  9 07:41:15 2004
+++ Zope3/src/zope/component/__init__.py	Tue Mar  9 19:58:31 2004
@@ -187,7 +187,7 @@
     warnings.warn(
         "Use getUtility(context, IFactory, name) instead of getFactory(...)",
         DeprecationWarning, 2)
-    return queryUtility(context, IFactory, name)
+    return queryUtility(context, IFactory, name=name)
 
 
 # Presentation service




More information about the Zope3-Checkins mailing list