[Zope] 2.2.0a1: Lexicon.query has disappeared
nholtz
nholtz@baldrick.docuweb.ca
Sun, 21 May 2000 09:26:41 -0400 (EDT)
> miranda: python $ python-threaded
> Python 1.5.2 (#11, Mar 10 2000, 05:43:32) [GCC egcs-2.91.66 19990314 (egcs-1.1.2 on linux2
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import ZODB
> >>> from SearchIndex.TextIndex import TextIndex
> Traceback (innermost last):
> File "<stdin>", line 1, in ?
> File "/files2/opt/Zope-2.2.0a1-src/lib/python/SearchIndex/TextIndex.py", line 217, in ?
> from Lexicon import Lexicon, query, stop_word_dict
> ImportError: cannot import name query
Lexicon.query was there in 2.1.6, but not in 2.2.0a1
--
Neal Holtz http://www.docuweb.ca/~nholtz
Dept. of Civil and Environmental Engineering, Carleton University,
Ottawa, Ontario, Canada K1S 5B6. nholtz@docuweb.ca