[Zope3-checkins] SVN: Zope3/branches/3.3/src/zope/app/component/metaconfigure.py Make this a bit more clear.

Martijn Faassen cvs-admin at zope.org
Wed Jun 14 12:29:46 EDT 2006


Log message for revision 68632:
  Make this a bit more clear.
  

Changed:
  U   Zope3/branches/3.3/src/zope/app/component/metaconfigure.py

-=-
Modified: Zope3/branches/3.3/src/zope/app/component/metaconfigure.py
===================================================================
--- Zope3/branches/3.3/src/zope/app/component/metaconfigure.py	2006-06-14 14:14:30 UTC (rev 68631)
+++ Zope3/branches/3.3/src/zope/app/component/metaconfigure.py	2006-06-14 16:29:42 UTC (rev 68632)
@@ -186,8 +186,8 @@
         warnings.warn_explicit(
             "The 'layer' argument of the 'view' directive has been "
             "deprecated.  Use the 'type' argument instead. If you have "
-            "an existing type BrowserRequest, replace it with the layer, "
-            "which subclasses BrowserRequest.",
+            "an existing 'type' argument IBrowserRequest, replace it with the "
+            "'layer' argument (the layer subclasses IBrowserRequest).",
             DeprecationWarning, _context.info.file, _context.info.line)
     else:
         for_ = for_ + (type,)



More information about the Zope3-Checkins mailing list