web/views/basecontrollers.py
branchtls-sprint
changeset 1713 d817f23439ba
parent 1635 866563e2d0fc
child 1723 30c3a713ab61
--- a/web/views/basecontrollers.py	Thu May 07 12:46:35 2009 +0200
+++ b/web/views/basecontrollers.py	Thu May 07 16:00:58 2009 +0200
@@ -495,13 +495,9 @@
 
     def _remove_pending(self, eidfrom, rel, eidto, kind):
         key = 'pending_%s' % kind
-        try:
-            pendings = self.req.get_session_data(key)
-            pendings.remove( (typed_eid(eidfrom), rel, typed_eid(eidto)) )
-        except:
-            self.exception('while removing pending eids')
-        else:
-            self.req.set_session_data(key, pendings)
+        pendings = self.req.get_session_data(key)
+        pendings.remove( (typed_eid(eidfrom), rel, typed_eid(eidto)) )
+        self.req.set_session_data(key, pendings)
 
     def js_remove_pending_insert(self, (eidfrom, rel, eidto)):
         self._remove_pending(eidfrom, rel, eidto, 'insert')