[CalendarServer-changes] [10054] CalendarServer/branches/users/glyph/one-home-list-api
source_changes at macosforge.org
source_changes at macosforge.org
Fri Nov 16 14:48:50 PST 2012
Revision: 10054
http://trac.calendarserver.org//changeset/10054
Author: glyph at apple.com
Date: 2012-11-16 14:48:50 -0800 (Fri, 16 Nov 2012)
Log Message:
-----------
similar stub implementation for file store
Modified Paths:
--------------
CalendarServer/branches/users/glyph/one-home-list-api/txdav/common/datastore/file.py
Property Changed:
----------------
CalendarServer/branches/users/glyph/one-home-list-api/
Modified: CalendarServer/branches/users/glyph/one-home-list-api/txdav/common/datastore/file.py
===================================================================
--- CalendarServer/branches/users/glyph/one-home-list-api/txdav/common/datastore/file.py 2012-11-16 22:48:49 UTC (rev 10053)
+++ CalendarServer/branches/users/glyph/one-home-list-api/txdav/common/datastore/file.py 2012-11-16 22:48:50 UTC (rev 10054)
@@ -132,10 +132,14 @@
)
+ @inlineCallbacks
def withEachCalendarHomeDo(self, action, batchSize=None):
"""
Implementation of L{ICalendarStore.withEachCalendarHomeDo}.
"""
+ for txn, home in self.eachCalendarHome():
+ yield action(txn, home)
+ yield txn.commit()
def setMigrating(self, state):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20121116/7d34f226/attachment-0001.html>
More information about the calendarserver-changes
mailing list