Commit 70c44abc authored by Florent Guillaume's avatar Florent Guillaume

Removed a warning at Zope startup.

parent b568aba6
......@@ -16,13 +16,21 @@ import common.ResultList as ResultList
import common.UnIndex as UnIndex
import PathIndex.PathIndex
import TextIndex.TextIndex
import FieldIndex.FieldIndex
import KeywordIndex.KeywordIndex
import TopicIndex.TopicIndex
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]
del __warningregistry__
_indexes = ('TextIndex',
'KeywordIndex',
'FieldIndex',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment