[Zope-Checkins] CVS: Zope2 - UnTextIndex.py:1.48
chrism@serenade.digicool.com
chrism@serenade.digicool.com
Thu, 3 May 2001 07:09:13 -0400
Update of /cvs-repository/Zope2/lib/python/SearchIndex
In directory serenade.digicool.com:/home/chrism/sandboxes/PostRegexTrunk/lib/python/SearchIndex
Modified Files:
UnTextIndex.py
Log Message:
Added TypeError to the exception handler which is invoked when index_object is called on a method which expects arguments.
--- Updated File UnTextIndex.py in package Zope2 --
--- UnTextIndex.py 2001/04/27 18:07:15 1.47
+++ UnTextIndex.py 2001/05/03 11:09:12 1.48
@@ -323,7 +323,7 @@
source = str(source())
else:
source = str(source)
- except AttributeError:
+ except (AttributeError, TypeError):
return 0
lexicon = self.getLexicon(self._lexicon)