[Zope-Checkins] CVS: Zope/lib/python/SearchIndex - __init__.py:1.7.36.1

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


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

Modified Files:
      Tag: ajung-unicode
	__init__.py 
Log Message:
added deprecation warning


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