[Zope3-checkins] SVN: Zope3/trunk/src/zope/component/site.py make an error message non-misleading

Benji York benji at zope.com
Tue Sep 13 10:29:53 EDT 2005


Log message for revision 38452:
  make an error message non-misleading
  

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

-=-
Modified: Zope3/trunk/src/zope/component/site.py
===================================================================
--- Zope3/trunk/src/zope/component/site.py	2005-09-13 12:26:32 UTC (rev 38451)
+++ Zope3/trunk/src/zope/component/site.py	2005-09-13 14:29:52 UTC (rev 38452)
@@ -235,7 +235,7 @@
                         strict=True):
 
         if strict and not providedInterface.providedBy(component):
-            raise Invalid("The registered component doesn't implement "
+            raise Invalid("The registered component doesn't provide "
                           "the promised interface.")
 
         self.utilities.register((), providedInterface, name, component)



More information about the Zope3-Checkins mailing list