[Zope-Checkins] SVN: Zope/z212-deprecation-cleanup/lib/python/Products/PluginIndexes/__init__.py removed TextIndex

Andreas Jung andreas at andreas-jung.com
Mon Jun 30 14:08:04 EDT 2008


Log message for revision 87859:
  removed TextIndex
  

Changed:
  U   Zope/z212-deprecation-cleanup/lib/python/Products/PluginIndexes/__init__.py

-=-
Modified: Zope/z212-deprecation-cleanup/lib/python/Products/PluginIndexes/__init__.py
===================================================================
--- Zope/z212-deprecation-cleanup/lib/python/Products/PluginIndexes/__init__.py	2008-06-30 18:00:42 UTC (rev 87858)
+++ Zope/z212-deprecation-cleanup/lib/python/Products/PluginIndexes/__init__.py	2008-06-30 18:08:03 UTC (rev 87859)
@@ -21,20 +21,8 @@
 import DateIndex.DateIndex
 import DateRangeIndex.DateRangeIndex
 
-# BBB: TextIndex is deprecated but we don't want the warning to appear here
-import warnings
-warnings.filterwarnings('ignore', message='^Using TextIndex', append=1)
-try:
-    import TextIndex.TextIndex
-finally:
-    del warnings.filters[-1]
-    try:
-        del __warningregistry__
-    except NameError:
-        pass
 
-_indexes =  ('TextIndex',
-             'KeywordIndex',
+_indexes =  ('KeywordIndex',
              'FieldIndex',
              'PathIndex',
              'TopicIndex',



More information about the Zope-Checkins mailing list