From ddae08c774b67429feca92aa5aac09a28128a694 Mon Sep 17 00:00:00 2001 From: "P. Christeas" Date: Thu, 12 Aug 2010 14:10:34 +0300 Subject: [PATCH] caldav: propagate exceptions. There is no need to hide them behind an osv.except_osv bzr revid: p_christ@hol.gr-20100812111034-j627h6ixp6ldf2ha --- addons/caldav/calendar.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/caldav/calendar.py b/addons/caldav/calendar.py index 3f7661a..fd533c0 100644 --- a/addons/caldav/calendar.py +++ b/addons/caldav/calendar.py @@ -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): -- 1.7.10.4