sobjects/textparsers.py
branchstable
changeset 7815 2a164a9cf81c
parent 6911 75849076fd6c
child 8748 f5027f8d2478
--- a/sobjects/textparsers.py	Tue Sep 20 15:14:04 2011 +0200
+++ b/sobjects/textparsers.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.
@@ -83,7 +83,7 @@
                     trinfo = iworkflowable.fire_transition(tr)
                     caller.fire_event('state-changed', {'trinfo': trinfo,
                                                         'entity': entity})
-                except:
+                except Exception:
                     self.exception('while changing state of %s', entity)
             else:
                 self.error("can't pass transition %s on entity %s",