[Zope-Checkins] CVS: Zope/lib/python/Products/ZCTextIndex/tests - mailtest.py:1.16

Jeremy Hylton jeremy@zope.com
Mon, 17 Jun 2002 11:21:42 -0400


Update of /cvs-repository/Zope/lib/python/Products/ZCTextIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv3010

Modified Files:
	mailtest.py 
Log Message:
Make sure that docs is defined even if EXCLUDE_TEXT is defined.


=== Zope/lib/python/Products/ZCTextIndex/tests/mailtest.py 1.15 => 1.16 ===
     if not EXCLUDE_TEXT:
         rt["documents"] = docs = IOBTree()
+    else:
+        docs = None
     get_transaction().commit()
 
     mbox = mailbox.UnixMailbox(open(mboxfile, 'rb'))