[CalendarServer-changes] [1529]
CalendarServer/trunk/twistedcaldav/static.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed May 16 09:35:21 PDT 2007
Revision: 1529
http://trac.macosforge.org/projects/calendarserver/changeset/1529
Author: cdaboo at apple.com
Date: 2007-05-16 09:35:20 -0700 (Wed, 16 May 2007)
Log Message:
-----------
Make sure that private sqlite file is not included in quota total.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/static.py
Modified: CalendarServer/trunk/twistedcaldav/static.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/static.py 2007-05-15 17:36:25 UTC (rev 1528)
+++ CalendarServer/trunk/twistedcaldav/static.py 2007-05-16 16:35:20 UTC (rev 1529)
@@ -294,7 +294,7 @@
@return: an L{Deferred} with a C{int} result containing the size of the resource.
"""
if self.isCollection():
- def walktree(top, top_level = False):
+ def walktree(top):
"""
Recursively descend the directory tree rooted at top,
calling the callback function for each regular file
@@ -306,7 +306,7 @@
for f in top.listdir():
# Ignore the database
- if top_level and f == db_basename:
+ if f == db_basename:
continue
child = top.child(f)
@@ -326,7 +326,7 @@
walktree = deferredGenerator(walktree)
- return walktree(self.fp, True)
+ return walktree(self.fp)
else:
return succeed(self.fp.getsize())
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070516/cd2fb018/attachment.html
More information about the calendarserver-changes
mailing list