Commit ad74a349 authored by Guido van Rossum's avatar Guido van Rossum

Make the Lexicon class persistent.

parent 24704fbe
......@@ -17,12 +17,15 @@ import re
from BTrees.IOBTree import IOBTree
from BTrees.OIBTree import OIBTree
import ZODB
from Persistence import Persistent
from Products.ZCTextIndex.ILexicon import ILexicon
from Products.ZCTextIndex.StopDict import get_stopdict
from Products.ZCTextIndex.ParseTree import QueryError
from Products.ZCTextIndex.PipelineFactory import element_factory
class Lexicon:
class Lexicon(Persistent):
__implements__ = ILexicon
......
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