summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-03-02 15:43:38 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-03-02 15:43:38 (GMT)
commitf955748696cae7f326187fbd32fdf400e672381e (patch)
tree42ac32dbf026d9aa7cc575f0273c4e8121dcebd6
parent14c14b74411d6a32d5948cdbdc09eaf1ce8b7c5a (diff)
downloadpykolab-f955748696cae7f326187fbd32fdf400e672381e.tar.gz
Remove commented code
-rw-r--r--wallace/module_invitationpolicy.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/wallace/module_invitationpolicy.py b/wallace/module_invitationpolicy.py
index fca2128..70bf627 100644
--- a/wallace/module_invitationpolicy.py
+++ b/wallace/module_invitationpolicy.py
@@ -828,16 +828,7 @@ def find_existing_object(uid, type, recurrence_id, user_rec, lock=False):
if not event and master.uid == uid:
log.debug("Instance not found, returning master" % (), level=8)
return (event, master)
- """
- # compare recurrence-id and skip to next message if not matching
- elif recurrence_id and not event.is_recurring() and not xmlutils.dates_equal(recurrence_id, event.get_recurrence_id()):
- log.debug(_("Recurrence-ID not matching on message %s, skipping: %r != %r") % (
- msguid, recurrence_id, event.get_recurrence_id()
- ), level=8)
- event = None
- master = None
- continue
- """
+
if event is not None:
setattr(event, '_imap_folder', folder)
setattr(event, '_lock_key', lock_key)