[Zope-Checkins] CVS: Zope/lib/python/SearchIndex - __init__.py:1.7.16.1
Andreas Jung
andreas@zope.com
Fri, 12 Oct 2001 07:04:58 -0400
Update of /cvs-repository/Zope/lib/python/SearchIndex
In directory cvs.zope.org:/tmp/cvs-serv24269
Modified Files:
Tag: Zope-2_4-branch
__init__.py
Log Message:
added deprecation warning
=== Zope/lib/python/SearchIndex/__init__.py 1.7 => 1.7.16.1 ===
$Id$'''
__version__='$Revision$'[11:-2]
+import warnings
+warnings.warn("The usage of the SearchIndex package is deprecated since \
+Zope 2.4.\n\
+This package is only kept for backwards compatibility for a while\n\
+and will go away in a future release.\n\
+\n\
+Please use instead the re-factored modules in Products/PluginIndexes.\n\
+",DeprecationWarning)