From: Hanno S. <svn...@pl...> - 2010-07-28 22:29:53
|
Author: hannosch Date: Wed Jul 28 22:29:43 2010 New Revision: 38321 Modified: Products.LinguaPlone/trunk/Products/LinguaPlone/skins/LinguaPlone/translationbrowser_queryCatalog.py Log: Avoid a bare except Modified: Products.LinguaPlone/trunk/Products/LinguaPlone/skins/LinguaPlone/translationbrowser_queryCatalog.py ============================================================================== --- Products.LinguaPlone/trunk/Products/LinguaPlone/skins/LinguaPlone/translationbrowser_queryCatalog.py (original) +++ Products.LinguaPlone/trunk/Products/LinguaPlone/skins/LinguaPlone/translationbrowser_queryCatalog.py Wed Jul 28 22:29:43 2010 @@ -34,7 +34,7 @@ terms = s.split() except ConflictError: raise - except: + except Exception: return s tokens = ('OR', 'AND', 'NOT') s_tokens = ('OR', 'AND') |