[CalendarServer-changes] [6343] CalendarServer/branches/users/glyph/more-deferreds-6/twistedcaldav/ scheduling/processing.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 22 21:37:19 PDT 2010


Revision: 6343
          http://trac.macosforge.org/projects/calendarserver/changeset/6343
Author:   glyph at apple.com
Date:     2010-09-22 21:37:18 -0700 (Wed, 22 Sep 2010)
Log Message:
-----------
commit/abort in sendAttendeeAutoReply

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/more-deferreds-6/twistedcaldav/scheduling/processing.py

Modified: CalendarServer/branches/users/glyph/more-deferreds-6/twistedcaldav/scheduling/processing.py
===================================================================
--- CalendarServer/branches/users/glyph/more-deferreds-6/twistedcaldav/scheduling/processing.py	2010-09-23 04:36:13 UTC (rev 6342)
+++ CalendarServer/branches/users/glyph/more-deferreds-6/twistedcaldav/scheduling/processing.py	2010-09-23 04:37:18 UTC (rev 6343)
@@ -452,9 +452,9 @@
                 scheduler = ImplicitScheduler()
                 yield scheduler.sendAttendeeReply(self.request, resource, calendar, self.recipient)
             except:
-                txn.abort()
+                yield txn.abort()
             else:
-                txn.commit()
+                yield txn.commit()
         finally:
             yield lock.clean()
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100922/a2f0ff25/attachment.html>


More information about the calendarserver-changes mailing list