summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-02-24 02:02:43 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-02-24 02:02:43 (GMT)
commitb9618a6bf02292132198a5bea6b46dac1863b3ca (patch)
tree8ffa6811f827db8ad2649669e61f153845415921
parent41b3c2efe840f824371ee77f561b3844f2146d8d (diff)
downloadpykolab-b9618a6bf02292132198a5bea6b46dac1863b3ca.tar.gz
Reset vars on exception
-rw-r--r--wallace/module_invitationpolicy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wallace/module_invitationpolicy.py b/wallace/module_invitationpolicy.py
index 9f720c8..17d1168 100644
--- a/wallace/module_invitationpolicy.py
+++ b/wallace/module_invitationpolicy.py
@@ -833,6 +833,8 @@ def find_existing_object(uid, type, recurrence_id, user_rec, lock=False):
except Exception, e:
log.error(_("Failed to parse %s from message %s/%s: %s") % (type, folder, num, traceback.format_exc()))
+ event = None
+ master = None
continue
if event and event.uid == uid: