[CalendarServer-changes] [4091] CalendarServer/trunk/twistedcaldav/memcacheprops.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Apr 27 13:32:11 PDT 2009
Revision: 4091
http://trac.macosforge.org/projects/calendarserver/changeset/4091
Author: wsanchez at apple.com
Date: 2009-04-27 13:32:10 -0700 (Mon, 27 Apr 2009)
Log Message:
-----------
Don't try to cache data for non-existing child
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/memcacheprops.py
Modified: CalendarServer/trunk/twistedcaldav/memcacheprops.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/memcacheprops.py 2009-04-27 16:14:20 UTC (rev 4090)
+++ CalendarServer/trunk/twistedcaldav/memcacheprops.py 2009-04-27 20:32:10 UTC (rev 4091)
@@ -184,8 +184,10 @@
for childName in childNames:
child = self.collection.getChild(childName)
+ if child is None:
+ continue
+
propertyStore = child.deadProperties()
-
props = {}
for qname in propertyStore.list(cache=False):
props[qname] = propertyStore.get(qname, cache=False)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090427/5d1a722a/attachment.html>
More information about the calendarserver-changes
mailing list