[CalendarServer-changes] [5798] CalendarServer/branches/new-store/twistedcaldav/storebridge.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jun 22 13:33:01 PDT 2010
Revision: 5798
http://trac.macosforge.org/projects/calendarserver/changeset/5798
Author: glyph at apple.com
Date: 2010-06-22 13:33:00 -0700 (Tue, 22 Jun 2010)
Log Message:
-----------
change attribute name from back-end
Modified Paths:
--------------
CalendarServer/branches/new-store/twistedcaldav/storebridge.py
Modified: CalendarServer/branches/new-store/twistedcaldav/storebridge.py
===================================================================
--- CalendarServer/branches/new-store/twistedcaldav/storebridge.py 2010-06-22 20:04:47 UTC (rev 5797)
+++ CalendarServer/branches/new-store/twistedcaldav/storebridge.py 2010-06-22 20:33:00 UTC (rev 5798)
@@ -448,8 +448,7 @@
"""
Create a calendar collection.
"""
- # FIXME: this should be done in the backend; provisionDefaultCalendars
- # should go away.
+ # FIXME: there should be no need for this.
return self.createCalendarCollection()
@@ -522,7 +521,7 @@
objectName = self._newStoreObject.name()
calendarName = self._newStoreObject._calendar.name()
homeUID = self._newStoreObject._calendar._calendarHome.uid()
- store = self._newStoreObject._transaction._calendarStore
+ store = self._newStoreObject._transaction._dataStore
txn = store.newTransaction()
newObject = (txn.calendarHomeWithUID(homeUID)
.calendarWithName(calendarName)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100622/226339e9/attachment.html>
More information about the calendarserver-changes
mailing list