[CalendarServer-changes] [6493] CalendarServer/branches/users/glyph/sharedpool/txdav/common/ datastore/sql.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Nov 1 14:12:22 PDT 2010


Revision: 6493
          http://trac.macosforge.org/projects/calendarserver/changeset/6493
Author:   glyph at apple.com
Date:     2010-11-01 14:12:20 -0700 (Mon, 01 Nov 2010)
Log Message:
-----------
minor docstring fixes

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

Modified: CalendarServer/branches/users/glyph/sharedpool/txdav/common/datastore/sql.py
===================================================================
--- CalendarServer/branches/users/glyph/sharedpool/txdav/common/datastore/sql.py	2010-11-01 21:11:58 UTC (rev 6492)
+++ CalendarServer/branches/users/glyph/sharedpool/txdav/common/datastore/sql.py	2010-11-01 21:12:20 UTC (rev 6493)
@@ -285,13 +285,14 @@
 
     def execSQL(self, *a, **kw):
         """
+        Execute some SQL (delegate to L{IAsyncTransaction}).
         """
         return self._sqlTxn.execSQL(*a, **kw)
 
 
     def commit(self):
         """
-        Commit the transaction and return 
+        Commit the transaction and execute any post-commit hooks.
         """
         def postCommit(ignored):
             for operation in self._postCommitOperations:
@@ -302,7 +303,7 @@
 
     def abort(self):
         """
-        docstring for abort
+        Abort the transaction.
         """
         return self._sqlTxn.abort()
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20101101/0d37a5ff/attachment.html>


More information about the calendarserver-changes mailing list