Commit 5d0838b8 authored by Chris McDonough's avatar Chris McDonough

Added TypeError to the exception handler which is invoked when index_object is...

Added TypeError to the exception handler which is invoked when index_object is called on a method which expects arguments.
parent 63acae73
......@@ -91,7 +91,7 @@ undo information so that objects can be unindexed when the old value
is no longer known.
"""
__version__ = '$Revision: 1.47 $'[11:-2]
__version__ = '$Revision: 1.48 $'[11:-2]
import string, re
......@@ -323,7 +323,7 @@ class UnTextIndex(Persistent, Implicit):
source = str(source())
else:
source = str(source)
except AttributeError:
except (AttributeError, TypeError):
return 0
lexicon = self.getLexicon(self._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