From 56594cd08d695f0252161de735f73ee81ee282eb Mon Sep 17 00:00:00 2001 From: Shane Hathaway Date: Mon, 16 Dec 2002 18:34:49 +0000 Subject: [PATCH] The lexicon was getting wrapped before storing in ZODB. Fixed. ZODB works around this situation, but it probably shouldn't. AdaptableStorage doesn't allow it. --- ZCTextIndex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZCTextIndex.py b/ZCTextIndex.py index 83e48b5..fe92204 100644 --- a/ZCTextIndex.py +++ b/ZCTextIndex.py @@ -94,7 +94,7 @@ def __init__(self, id, extra=None, caller=None, index_factory=None, else: self._index_factory = index_factory - self.index = self._index_factory(self.getLexicon()) + self.index = self._index_factory(aq_base(self.getLexicon())) ## Private Methods ##