[CalendarServer-changes] [5745] CalendarServer/branches/new-store/twistedcaldav/resource.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Jun 15 17:28:16 PDT 2010


Revision: 5745
          http://trac.macosforge.org/projects/calendarserver/changeset/5745
Author:   glyph at apple.com
Date:     2010-06-15 17:28:14 -0700 (Tue, 15 Jun 2010)
Log Message:
-----------
diagnostic error report

Modified Paths:
--------------
    CalendarServer/branches/new-store/twistedcaldav/resource.py

Modified: CalendarServer/branches/new-store/twistedcaldav/resource.py
===================================================================
--- CalendarServer/branches/new-store/twistedcaldav/resource.py	2010-06-15 22:38:45 UTC (rev 5744)
+++ CalendarServer/branches/new-store/twistedcaldav/resource.py	2010-06-16 00:28:14 UTC (rev 5745)
@@ -185,6 +185,8 @@
 
         @type otherResource: L{CalDAVResource} (or a subclass thereof)
         """
+        if not self._associatedTransaction:
+            raise RuntimeError("No associated transaction to propagate")
         otherResource.associateWithTransaction(self._associatedTransaction)
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100615/c11e6585/attachment.html>


More information about the calendarserver-changes mailing list