[CalendarServer-changes] [6445] CalendarServer/branches/users/glyph/more-deferreds-7/twistedcaldav/ storebridge.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Oct 18 12:19:48 PDT 2010


Revision: 6445
          http://trac.macosforge.org/projects/calendarserver/changeset/6445
Author:   cdaboo at apple.com
Date:     2010-10-18 12:19:46 -0700 (Mon, 18 Oct 2010)
Log Message:
-----------
Fix missing yields.

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/more-deferreds-7/twistedcaldav/storebridge.py

Modified: CalendarServer/branches/users/glyph/more-deferreds-7/twistedcaldav/storebridge.py
===================================================================
--- CalendarServer/branches/users/glyph/more-deferreds-7/twistedcaldav/storebridge.py	2010-10-18 19:08:13 UTC (rev 6444)
+++ CalendarServer/branches/users/glyph/more-deferreds-7/twistedcaldav/storebridge.py	2010-10-18 19:19:46 UTC (rev 6445)
@@ -981,7 +981,7 @@
         # FIXME: should really use something other than 'fp' attribute.
         basename = destination.name()
         calendar = self._newStoreCalendar
-        calendar.rename(basename)
+        yield calendar.rename(basename)
         CalendarCollectionResource.transform(destination, calendar,
                                          self._newStoreParentHome)
         del self._newStoreCalendar
@@ -1627,7 +1627,7 @@
         # FIXME: should really use something other than 'fp' attribute.
         basename = destination.name()
         addressbook = self._newStoreAddressBook
-        addressbook.rename(basename)
+        yield addressbook.rename(basename)
         AddressBookCollectionResource.transform(destination, addressbook,
                                          self._newStoreParentHome)
         del self._newStoreAddressBook
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20101018/c73acab6/attachment-0001.html>


More information about the calendarserver-changes mailing list