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

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to