Commit 75215671 authored by Jeremy Hylton's avatar Jeremy Hylton

Make sure that docs is defined even if EXCLUDE_TEXT is defined.

parent 1c4b06e5
......@@ -90,6 +90,8 @@ def index(rt, mboxfile, db, profiler):
rt["index"] = idx = ZCTextIndex("index", extra, caller)
if not EXCLUDE_TEXT:
rt["documents"] = docs = IOBTree()
else:
docs = None
get_transaction().commit()
mbox = mailbox.UnixMailbox(open(mboxfile, 'rb'))
......
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