[CalendarServer-changes] [13101] CalendarServer/trunk/txdav/common/datastore/sql.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Apr 1 13:59:53 PDT 2014


Revision: 13101
          http://trac.calendarserver.org//changeset/13101
Author:   cdaboo at apple.com
Date:     2014-04-01 13:59:52 -0700 (Tue, 01 Apr 2014)
Log Message:
-----------
Fix missing yield.

Modified Paths:
--------------
    CalendarServer/trunk/txdav/common/datastore/sql.py

Modified: CalendarServer/trunk/txdav/common/datastore/sql.py
===================================================================
--- CalendarServer/trunk/txdav/common/datastore/sql.py	2014-04-01 20:57:37 UTC (rev 13100)
+++ CalendarServer/trunk/txdav/common/datastore/sql.py	2014-04-01 20:59:52 UTC (rev 13101)
@@ -3873,7 +3873,7 @@
                         self._txn, homeID=self.ownerHome()._resourceID,
                         resourceID=self._resourceID, name=name)
                 )[0][0]
-        self._maybeNotify()
+        yield self._maybeNotify()
         returnValue(self._syncTokenRevision)
 
 
@@ -3881,6 +3881,7 @@
         """
         Maybe notify changed.  (Overridden in NotificationCollection.)
         """
+        return succeed(None)
 
 
 
@@ -7053,7 +7054,7 @@
         """
         Emit a push notification after C{_changeRevision}.
         """
-        self.notifyChanged()
+        return self.notifyChanged()
 
 
     @inlineCallbacks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140401/f7f852c2/attachment.html>


More information about the calendarserver-changes mailing list