summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiutauras Adomaitis <adomaitis@kolabsys.com>2017-07-22 13:04:26 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2017-07-22 13:04:26 +0200
commit87b68abcd117bcf8e2b410d208d9e1a5b29dba3e (patch)
tree0bc8aab6d8de011f03c9e031ddf8651a644bb025
parente87109cde2551776fd15a9f4890b86f54c3c70a9 (diff)
downloadpykolab-87b68abcd117bcf8e2b410d208d9e1a5b29dba3e.tar.gz
Little change to improve invitation policy logging - log if iTip requires re-scheduling and print event uid
Summary: Little change to improve invitation policy logging - log if iTip requires re-scheduling and print event uid Reviewers: vanmeeuwen Reviewed By: vanmeeuwen Differential Revision: https://git.kolab.org/D491
-rw-r--r--wallace/module_invitationpolicy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wallace/module_invitationpolicy.py b/wallace/module_invitationpolicy.py
index e4c3928..b87c943 100644
--- a/wallace/module_invitationpolicy.py
+++ b/wallace/module_invitationpolicy.py
@@ -419,8 +419,8 @@ def process_itip_request(itip_event, policy, recipient_email, sender_email, rece
# compare sequence number to determine a (re-)scheduling request
if existing is not None:
- log.debug(_("Existing %s: %r") % (existing.type, existing), level=9)
scheduling_required = itip_event['sequence'] > 0 and itip_event['sequence'] > existing.get_sequence()
+ log.debug(_("Scheduling required: %r, for existing %s: %s") % (scheduling_required, existing.type, existing.get_uid()), level=8)
save_object = True
# if scheduling: check availability (skip that for tasks)