[CalendarServer-changes] [6345] CalendarServer/branches/users/glyph/more-deferreds-6/txdav/base/ propertystore/test/test_sql.py

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


Revision: 6345
          http://trac.macosforge.org/projects/calendarserver/changeset/6345
Author:   glyph at apple.com
Date:     2010-09-22 21:40:20 -0700 (Wed, 22 Sep 2010)
Log Message:
-----------
relay commit return value for potentially async result

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/more-deferreds-6/txdav/base/propertystore/test/test_sql.py

Modified: CalendarServer/branches/users/glyph/more-deferreds-6/txdav/base/propertystore/test/test_sql.py
===================================================================
--- CalendarServer/branches/users/glyph/more-deferreds-6/txdav/base/propertystore/test/test_sql.py	2010-09-23 04:39:15 UTC (rev 6344)
+++ CalendarServer/branches/users/glyph/more-deferreds-6/txdav/base/propertystore/test/test_sql.py	2010-09-23 04:40:20 UTC (rev 6345)
@@ -48,9 +48,10 @@
 
     def _postTest(self):
         if hasattr(self, "_txn"):
-            self._txn.commit()
+            result = self._txn.commit()
             delattr(self, "_txn")
         self.propertyStore = self.propertyStore1 = self.propertyStore2 = None
+        return result
 
     def _changed(self, store):
         if hasattr(self, "_txn"):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100922/d17ee579/attachment.html>


More information about the calendarserver-changes mailing list