[CalendarServer-changes] [11355] CalendarServer/branches/users/glyph/warning-cleanups/txdav/common/ datastore/sql.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Jun 13 16:21:11 PDT 2013


Revision: 11355
          http://trac.calendarserver.org//changeset/11355
Author:   glyph at apple.com
Date:     2013-06-13 16:21:11 -0700 (Thu, 13 Jun 2013)
Log Message:
-----------
Clean up docstrings on other notifyChanged implementations.

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/warning-cleanups/txdav/common/datastore/sql.py

Modified: CalendarServer/branches/users/glyph/warning-cleanups/txdav/common/datastore/sql.py
===================================================================
--- CalendarServer/branches/users/glyph/warning-cleanups/txdav/common/datastore/sql.py	2013-06-13 23:21:08 UTC (rev 11354)
+++ CalendarServer/branches/users/glyph/warning-cleanups/txdav/common/datastore/sql.py	2013-06-13 23:21:11 UTC (rev 11355)
@@ -2180,10 +2180,10 @@
     @inlineCallbacks
     def notifyChanged(self):
         """
-        Send notifications, change sync token and bump last modified because the resource has changed. We ensure
-        we only do this once per object per transaction.
+        Send notifications, change sync token and bump last modified because
+        the resource has changed.  We ensure we only do this once per object
+        per transaction.
         """
-
         if self._txn.isNotifiedAlready(self):
             returnValue(None)
         self._txn.notificationAddedForObject(self)
@@ -4059,10 +4059,10 @@
     @inlineCallbacks
     def notifyChanged(self):
         """
-        Send notifications, change sync token and bump last modified because the resource has changed. We ensure
-        we only do this once per object per transaction.
+        Send notifications, change sync token and bump last modified because
+        the resource has changed.  We ensure we only do this once per object
+        per transaction.
         """
-
         if self._txn.isNotifiedAlready(self):
             returnValue(None)
         self._txn.notificationAddedForObject(self)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130613/1c2070a1/attachment.html>


More information about the calendarserver-changes mailing list