[CalendarServer-changes] [4995] CalendarServer/trunk/txcaldav/calendarstore/file.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Feb 1 11:32:30 PST 2010
Revision: 4995
http://trac.macosforge.org/projects/calendarserver/changeset/4995
Author: wsanchez at apple.com
Date: 2010-02-01 11:32:30 -0800 (Mon, 01 Feb 2010)
Log Message:
-----------
comment
Modified Paths:
--------------
CalendarServer/trunk/txcaldav/calendarstore/file.py
Modified: CalendarServer/trunk/txcaldav/calendarstore/file.py
===================================================================
--- CalendarServer/trunk/txcaldav/calendarstore/file.py 2010-02-01 19:32:12 UTC (rev 4994)
+++ CalendarServer/trunk/txcaldav/calendarstore/file.py 2010-02-01 19:32:30 UTC (rev 4995)
@@ -194,6 +194,12 @@
return self._component
def iCalendarText(self):
+ #
+ # Note I'm making an assumption here that caching both is
+ # redundant, so we're caching the text if it's asked for and
+ # we don't have the component cached, then tossing it and
+ # relying on the component if we have that cached. -wsv
+ #
if not hasattr(self, "_text"):
if hasattr(self, "_component"):
return str(self._component)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100201/2c8a33e3/attachment-0001.html>
More information about the calendarserver-changes
mailing list