[CalendarServer-changes] [7406] CalendarServer/trunk/calendarserver/tools/purge.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon May 2 14:01:24 PDT 2011
Revision: 7406
http://trac.macosforge.org/projects/calendarserver/changeset/7406
Author: sagen at apple.com
Date: 2011-05-02 14:01:24 -0700 (Mon, 02 May 2011)
Log Message:
-----------
cutoff is supposed to be a PyCalendarDateTime, not a string (9249930)
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/tools/purge.py
Modified: CalendarServer/trunk/calendarserver/tools/purge.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/purge.py 2011-04-29 21:28:39 UTC (rev 7405)
+++ CalendarServer/trunk/calendarserver/tools/purge.py 2011-05-02 21:01:24 UTC (rev 7406)
@@ -290,7 +290,6 @@
cutoff = PyCalendarDateTime.getToday()
cutoff.setDateOnly(False)
cutoff.offsetDay(-days)
- cutoff = cutoff.getText()
PurgeOldEventsService.cutoff = cutoff
PurgeOldEventsService.batchSize = batchSize
PurgeOldEventsService.dryrun = dryrun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110502/8124dec3/attachment.html>
More information about the calendarserver-changes
mailing list