[Zope-Checkins] CVS: Products/ZCTextIndex - ZCTextIndex.py:1.38

Shane Hathaway shane@zope.com
Mon, 16 Dec 2002 13:34:49 -0500


Update of /cvs-repository/Products/ZCTextIndex
In directory cvs.zope.org:/tmp/cvs-serv19458

Modified Files:
	ZCTextIndex.py 
Log Message:
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.


=== Products/ZCTextIndex/ZCTextIndex.py 1.37 => 1.38 ===
--- Products/ZCTextIndex/ZCTextIndex.py:1.37	Tue Dec 10 13:58:19 2002
+++ Products/ZCTextIndex/ZCTextIndex.py	Mon Dec 16 13:34:49 2002
@@ -94,7 +94,7 @@
         else:
             self._index_factory = index_factory
 
-        self.index = self._index_factory(self.getLexicon())
+        self.index = self._index_factory(aq_base(self.getLexicon()))
 
     ## Private Methods ##