[Zope3-checkins] SVN: Zope3/branches/roger-contentprovider/src/zope/contentprovider/manager.py Correct error string

Roger Ineichen roger at projekt01.ch
Fri Oct 7 05:44:46 EDT 2005


Log message for revision 38853:
  Correct error string

Changed:
  U   Zope3/branches/roger-contentprovider/src/zope/contentprovider/manager.py

-=-
Modified: Zope3/branches/roger-contentprovider/src/zope/contentprovider/manager.py
===================================================================
--- Zope3/branches/roger-contentprovider/src/zope/contentprovider/manager.py	2005-10-07 09:41:11 UTC (rev 38852)
+++ Zope3/branches/roger-contentprovider/src/zope/contentprovider/manager.py	2005-10-07 09:44:45 UTC (rev 38853)
@@ -65,12 +65,12 @@
         # If the viewlet was not found, then raise a lookup error
         if viewlet is None:
             raise zope.component.interfaces.ComponentLookupError(
-                'No viewlet with name `%s` found.' %name)
+                'No provider with name `%s` found.' %name)
 
         # If the viewlet cannot be accessed, then raise an unauthorized error
         if not zope.security.canAccess(viewlet, '__call__'):
             raise zope.security.interfaces.Unauthorized(
-                'You are not authorized to access the viewlet '
+                'You are not authorized to access the provider '
                 'called `%s`.' %name)
 
         # Return the rendered viewlet.



More information about the Zope3-Checkins mailing list