web/views/magicsearch.py
branchstable
changeset 7815 2a164a9cf81c
parent 5768 1e73a466aa69
child 7990 a673d1d9a738
--- a/web/views/magicsearch.py	Tue Sep 20 15:14:04 2011 +0200
+++ b/web/views/magicsearch.py	Wed Sep 21 17:38:00 2011 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -387,7 +387,7 @@
             procname, query = uquery.split(':', 1)
             proc = self.by_name[procname.strip().lower()]
             uquery = query.strip()
-        except:
+        except Exception:
             # use processor chain
             unauthorized = None
             for proc in self.processors: