[CalendarServer-changes] [6538] CalendarServer/branches/users/glyph/sharedpool/twistedcaldav/test/ test_wrapping.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Nov 1 14:27:59 PDT 2010


Revision: 6538
          http://trac.macosforge.org/projects/calendarserver/changeset/6538
Author:   glyph at apple.com
Date:     2010-11-01 14:27:56 -0700 (Mon, 01 Nov 2010)
Log Message:
-----------
two more missing yields

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/sharedpool/twistedcaldav/test/test_wrapping.py

Modified: CalendarServer/branches/users/glyph/sharedpool/twistedcaldav/test/test_wrapping.py
===================================================================
--- CalendarServer/branches/users/glyph/sharedpool/twistedcaldav/test/test_wrapping.py	2010-11-01 21:27:38 UTC (rev 6537)
+++ CalendarServer/branches/users/glyph/sharedpool/twistedcaldav/test/test_wrapping.py	2010-11-01 21:27:56 UTC (rev 6538)
@@ -113,7 +113,9 @@
         txn = self.calendarCollection._newStore.newTransaction()
         home = yield txn.calendarHomeWithUID(uid, True)
         cal = yield home.calendarWithName("calendar")
-        cal.createCalendarObjectWithName(objectName, VComponent.fromString(objectText))
+        yield cal.createCalendarObjectWithName(
+            objectName, VComponent.fromString(objectText)
+        )
         yield txn.commit()
 
 
@@ -141,7 +143,9 @@
         if adbk is None:
             yield home.createAddressBookWithName("addressbook")
             adbk = yield home.addressbookWithName("addressbook")
-        adbk.createAddressBookObjectWithName(objectName, VCComponent.fromString(objectText))
+        yield adbk.createAddressBookObjectWithName(
+            objectName, VCComponent.fromString(objectText)
+        )
         yield txn.commit()
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20101101/0af704d1/attachment.html>


More information about the calendarserver-changes mailing list