caldav: propagate exceptions.

There is no need to hide them behind an osv.except_osv

bzr revid: p_christ@hol.gr-20100812111034-j627h6ixp6ldf2ha
This commit is contained in:
P. Christeas
2010-08-12 14:10:34 +03:00
parent 59c236eff1
commit ddae08c774
+2 -2
View 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):