[CalendarServer-changes] [11308] CalendarServer/branches/users/glyph/q-delete-no-concurrency/twext/ enterprise/dal/record.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Jun 5 11:42:13 PDT 2013


Revision: 11308
          http://trac.calendarserver.org//changeset/11308
Author:   glyph at apple.com
Date:     2013-06-05 11:42:13 -0700 (Wed, 05 Jun 2013)
Log Message:
-----------
Just for my own sanity, tests back to red.

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/q-delete-no-concurrency/twext/enterprise/dal/record.py

Modified: CalendarServer/branches/users/glyph/q-delete-no-concurrency/twext/enterprise/dal/record.py
===================================================================
--- CalendarServer/branches/users/glyph/q-delete-no-concurrency/twext/enterprise/dal/record.py	2013-06-05 18:42:13 UTC (rev 11307)
+++ CalendarServer/branches/users/glyph/q-delete-no-concurrency/twext/enterprise/dal/record.py	2013-06-05 18:42:13 UTC (rev 11308)
@@ -258,13 +258,12 @@
         """
         Delete this row from the database.
 
-        @return: a L{Deferred} which fires with C{None} when the underlying row
-            has been deleted, or fails with L{NoSuchRecord} if the underlying
-            row was already deleted.
+        @return: a L{Deferred} which fires when the underlying row has been
+            deleted.
         """
         return Delete(From=self.table,
                       Where=self._primaryKeyComparison(self._primaryKeyValue())
-                      ).on(self.transaction, raiseOnZeroRowCount=NoSuchRecord)
+                      ).on(self.transaction)
 
 
     @inlineCallbacks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130605/e07177de/attachment.html>


More information about the calendarserver-changes mailing list