[Zope-Checkins] CVS: Zope/lib/python/SearchIndex - README.txt:1.2 __init__.py:1.8

Andreas Jung andreas@zope.com
Thu, 27 Sep 2001 13:18:38 -0400


Update of /cvs-repository/Zope/lib/python/SearchIndex
In directory cvs.zope.org:/tmp/cvs-serv21552

Modified Files:
	__init__.py 
Added Files:
	README.txt 
Log Message:
added deprecation warning


=== Zope/lib/python/SearchIndex/README.txt 1.1 => 1.2 ===
+Instead use the re-factored modules in Products/PluginIndexes.


=== Zope/lib/python/SearchIndex/__init__.py 1.7 => 1.8 ===
 $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)