[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/component/metaconfigure.py Be a bit more explicit about what to do.

Martijn Faassen faassen at infrae.com
Wed Jun 14 09:26:53 EDT 2006


Log message for revision 68629:
  Be a bit more explicit about what to do.
  

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

-=-
Modified: Zope3/trunk/src/zope/app/component/metaconfigure.py
===================================================================
--- Zope3/trunk/src/zope/app/component/metaconfigure.py	2006-06-14 12:35:03 UTC (rev 68628)
+++ Zope3/trunk/src/zope/app/component/metaconfigure.py	2006-06-14 13:26:52 UTC (rev 68629)
@@ -185,7 +185,9 @@
         for_ = for_ + (layer,)
         warnings.warn_explicit(
             "The 'layer' argument of the 'view' directive has been "
-            "deprecated.  Use the 'type' argument instead.",
+            "deprecated.  Use the 'type' argument instead. If you have "
+            "an existing type BrowserRequest, replace it with the layer, "
+            "which subclasses BrowserRequest.",
             DeprecationWarning, _context.info.file, _context.info.line)
     else:
         for_ = for_ + (type,)



More information about the Zope3-Checkins mailing list