[CalendarServer-changes] [8861] CalendarServer/trunk/calendarserver/tools/shell/vfs.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 13 22:29:28 PDT 2012
Revision: 8861
http://trac.macosforge.org/projects/calendarserver/changeset/8861
Author: wsanchez at apple.com
Date: 2012-03-13 22:29:26 -0700 (Tue, 13 Mar 2012)
Log Message:
-----------
allow multiple main components when reading
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/tools/shell/vfs.py
Modified: CalendarServer/trunk/calendarserver/tools/shell/vfs.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/shell/vfs.py 2012-03-14 01:26:13 UTC (rev 8860)
+++ CalendarServer/trunk/calendarserver/tools/shell/vfs.py 2012-03-14 05:29:26 UTC (rev 8861)
@@ -421,10 +421,11 @@
component = (yield self.object.component())
try:
- mainComponent = component.mainComponent()
+ mainComponent = component.mainComponent(allow_multiple=True)
+ assert self.uid == mainComponent.propertyValue("UID")
+
self.componentType = mainComponent.name()
- #self.uid = mainComponent.propertyValue("UID")
self.summary = mainComponent.propertyValue("SUMMARY")
self.mainComponent = mainComponent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120313/dd0f143c/attachment-0001.html>
More information about the calendarserver-changes
mailing list