diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2015-02-23 21:02:43 -0500 |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2015-02-23 21:02:43 -0500 |
commit | b9618a6bf02292132198a5bea6b46dac1863b3ca (patch) | |
tree | 8ffa6811f827db8ad2649669e61f153845415921 /wallace/module_invitationpolicy.py | |
parent | 41b3c2efe840f824371ee77f561b3844f2146d8d (diff) | |
download | pykolab-b9618a6bf02292132198a5bea6b46dac1863b3ca.tar.gz |
Reset vars on exception
Diffstat (limited to 'wallace/module_invitationpolicy.py')
-rw-r--r-- | wallace/module_invitationpolicy.py | 2 |
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: |