caldav: propagate exceptions.
authorP. Christeas <p_christ@hol.gr>
Thu, 12 Aug 2010 11:10:34 +0000 (14:10 +0300)
committerP. Christeas <p_christ@hol.gr>
Thu, 12 Aug 2010 11:10:34 +0000 (14:10 +0300)
There is no need to hide them behind an osv.except_osv

bzr revid: p_christ@hol.gr-20100812111034-j627h6ixp6ldf2ha

addons/caldav/calendar.py

index 3f7661a..fd533c0 100644 (file)
@@ -420,8 +420,8 @@ class CalDAV(object):
                         event_id = model_obj.create(cr, uid, val)
                         recur_pool[u_id] = event_id
                         ids.append(event_id)
-        except Exception, e:
-            raise osv.except_osv(('Error !'), (str(e)))
+        except Exception:
+            raise
         return ids
 
     def export_cal(self, cr, uid, datas, vobj=None, context=None):