Commit 3fb109e1 authored by Ken Manheimer's avatar Ken Manheimer

'if not lexicon' was causing a __len__ error, so we're using the

explicit 'lexicon is not None', instead.
parent 25afa7ce
......@@ -92,7 +92,7 @@ is no longer known.
"""
__version__='$Revision: 1.14 $'[11:-2]
__version__='$Revision: 1.15 $'[11:-2]
from Globals import Persistent
import BTree, IIBTree, IOBTree, OIBTree
......@@ -158,7 +158,7 @@ class UnTextIndex(Persistent):
else:
pass
if not lexicon:
if lexicon is None:
self._lexicon=Lexicon()
else:
self._lexicon=lexicon
......
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