Log message for revision 68051:
  use even shorter deprecation code (zope.deprecation.moved)
  

Changed:
  U   
Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/PythonExpr.py

-=-
Modified: 
Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/PythonExpr.py
===================================================================
--- 
Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/PythonExpr.py
    2006-05-09 08:46:34 UTC (rev 68050)
+++ 
Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/PythonExpr.py
    2006-05-09 08:49:39 UTC (rev 68051)
@@ -15,10 +15,5 @@
 $Id$
 """
 # BBB 2005/05/01 -- remove after 12 months
-import zope.deferredimport
-zope.deferredimport.deprecatedFrom(
-    "Zope 2 uses the Zope 3 ZPT engine now.  The PythonExpr type can be "
-    "imported from zope.tales.pythonexpr.",
-    "zope.tales.pythonexpr",
-    "PythonExpr", "ExprTypeProxy"
-    )
+import zope.deprecation
+zope.deprecation.moved("zope.tales.pythonexpr", "2.12")

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to