hooks/notification.py
branchstable
changeset 7815 2a164a9cf81c
parent 7068 90ddf608fe2b
child 7879 9aae456abab5
--- a/hooks/notification.py	Tue Sep 20 15:14:04 2011 +0200
+++ b/hooks/notification.py	Wed Sep 21 17:38:00 2011 +0200
@@ -191,7 +191,7 @@
     def _call(self):
         try:
             title = self.entity.dc_title()
-        except:
+        except Exception:
             # may raise an error during deletion process, for instance due to
             # missing required relation
             title = '#%s' % self.entity.eid