[tryton-debian-vcs] tryton-modules-calendar-scheduling branch upstream-3.2 updated. upstream/3.2.3-1-g120f431

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Dec 23 16:51:56 UTC 2015


The following commit has been merged in the upstream-3.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-calendar-scheduling.git;a=commitdiff;h=upstream/3.2.3-1-g120f431

commit 120f431ac66a694f49f53717fcc7b66586640da9
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Dec 23 15:08:02 2015 +0100

    Adding upstream version 3.2.4.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index aea8ded..a711238 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.2.4 - 2015-12-22
+* Bug fixes (see mercurial logs for details)
+
 Version 3.2.3 - 2015-09-19
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 7227e49..a240bcd 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_calendar_scheduling
-Version: 3.2.3
+Version: 3.2.4
 Summary: Tryton module to add scheduling support on CalDAV
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/calendar_.py b/calendar_.py
index 549f133..c4ae558 100644
--- a/calendar_.py
+++ b/calendar_.py
@@ -333,11 +333,11 @@ class Event:
             return
 
         actions = iter(args)
+        events_edited = set()
         for events, values in zip(actions, actions):
-            event_edited = False
             for k in values:
                 if k != 'attendees':
-                    event_edited = True
+                    events_edited.update(events)
                     break
 
             # store old attendee info
@@ -384,7 +384,7 @@ class Event:
 
             sent_succes = []
             sent_fail = []
-            if event_edited:
+            if event in events_edited:
                 if event.status == 'cancelled':
                     ical.method.value = 'CANCEL'
                     #send cancel to old attendee
@@ -445,9 +445,11 @@ class Event:
 
                 vals = {'status': 'needs-action'}
                 vals['schedule_status'] = '1.1'  # successfully sent
-                Attendee.write(sent_succes, vals)
+                if sent_succes:
+                    Attendee.write(sent_succes, vals)
                 vals['schedule_status'] = '5.1'  # could not complete delivery
-                Attendee.write(sent_fail, vals)
+                if sent_fail:
+                    Attendee.write(sent_fail, vals)
 
     @classmethod
     def delete(cls, events):
diff --git a/tryton.cfg b/tryton.cfg
index 4c2c22b..1b88641 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.2.3
+version=3.2.4
 depends:
     calendar
     ir
diff --git a/trytond_calendar_scheduling.egg-info/PKG-INFO b/trytond_calendar_scheduling.egg-info/PKG-INFO
index 01c86ca..7be216c 100644
--- a/trytond_calendar_scheduling.egg-info/PKG-INFO
+++ b/trytond_calendar_scheduling.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-calendar-scheduling
-Version: 3.2.3
+Version: 3.2.4
 Summary: Tryton module to add scheduling support on CalDAV
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-calendar-scheduling



More information about the tryton-debian-vcs mailing list