[Zope3-checkins] SVN: Zope3/trunk/src/zope/component/__init__.py In view lookup errors, report the "providing" parameter

Shane Hathaway shane at zope.com
Tue Nov 30 17:33:58 EST 2004


Log message for revision 28543:
  In view lookup errors, report the "providing" parameter
  

Changed:
  U   Zope3/trunk/src/zope/component/__init__.py

-=-
Modified: Zope3/trunk/src/zope/component/__init__.py
===================================================================
--- Zope3/trunk/src/zope/component/__init__.py	2004-11-30 22:31:38 UTC (rev 28542)
+++ Zope3/trunk/src/zope/component/__init__.py	2004-11-30 22:33:58 UTC (rev 28543)
@@ -221,7 +221,7 @@
         return view
 
     raise ComponentLookupError("Couldn't find view",
-                               name, object, context, request)
+                               name, object, context, request, providing)
 
 def queryView(object, name, request,
               default=None, providing=Interface, context=None):



More information about the Zope3-Checkins mailing list