[CalendarServer-changes] [13219] CalendarServer/trunk/twistedcaldav/upgrade.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Apr 9 09:36:02 PDT 2014
Revision: 13219
http://trac.calendarserver.org//changeset/13219
Author: cdaboo at apple.com
Date: 2014-04-09 09:36:02 -0700 (Wed, 09 Apr 2014)
Log Message:
-----------
Record type names changed.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/upgrade.py
Modified: CalendarServer/trunk/twistedcaldav/upgrade.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/upgrade.py 2014-04-09 05:18:45 UTC (rev 13218)
+++ CalendarServer/trunk/twistedcaldav/upgrade.py 2014-04-09 16:36:02 UTC (rev 13219)
@@ -816,7 +816,7 @@
recordType = pieces[2]
shortName = pieces[3]
- record = yield directory.recordWithShortName(recordType, shortName)
+ record = yield directory.recordWithShortName(directory.oldNameToRecordType(recordType), shortName)
if record is None:
# We will simply ignore this and not write out an fb-set entry
log.error("Can't update free-busy href; %s is not in the directory" % shortName)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140409/276edfc5/attachment.html>
More information about the calendarserver-changes
mailing list