[Zope-Checkins] CVS: Zope2 - UnTextIndex.py:1.33.2.15

chrism@serenade.digicool.com chrism@serenade.digicool.com
Thu, 3 May 2001 07:10:14 -0400


Update of /cvs-repository/Zope2/lib/python/SearchIndex
In directory serenade.digicool.com:/home/chrism/sandboxes/CMFTest/lib/python/SearchIndex

Modified Files:
      Tag: zope-2_3-branch
	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/03/27 23:43:11	1.33.2.14
+++ UnTextIndex.py	2001/05/03 11:10:14	1.33.2.15
@@ -323,7 +323,7 @@
                 source = str(source())
             else:
                 source = str(source)
-        except AttributeError:
+        except (AttributeError, TypeError):
             return 0
         
         lexicon = self.getLexicon(self._lexicon)