21 May
2001
21 May
'01
7:10 p.m.
Chris McDonough wrote:
It's possible to catch this error, but it's not possible to allow folks to search for things with parens in them currently.
I'm not having a good time catching it: from SearchIndex import TextIndex try: brains = apply(self.searchResults,(REQUEST,),kw) except TextIndex.QueryError: brains = [] ...doesn't actually catch the exception :-S cheers, Chris