[CalendarServer-changes] [5302] CalendarServer/trunk/calendarserver/tools/purge.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Mar 12 14:33:59 PST 2010
Revision: 5302
http://trac.macosforge.org/projects/calendarserver/changeset/5302
Author: sagen at apple.com
Date: 2010-03-12 14:33:59 -0800 (Fri, 12 Mar 2010)
Log Message:
-----------
pyflakes
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/tools/purge.py
Modified: CalendarServer/trunk/calendarserver/tools/purge.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/purge.py 2010-03-12 21:34:50 UTC (rev 5301)
+++ CalendarServer/trunk/calendarserver/tools/purge.py 2010-03-12 22:33:59 UTC (rev 5302)
@@ -27,7 +27,7 @@
from getopt import getopt, GetoptError
from twext.python.log import Logger
from twisted.internet import reactor
-from twisted.internet.defer import inlineCallbacks, returnValue, Deferred
+from twisted.internet.defer import inlineCallbacks, returnValue
from twistedcaldav import caldavxml
from twistedcaldav.caldavxml import TimeRange
from twistedcaldav.config import config, ConfigurationError
@@ -139,7 +139,6 @@
@inlineCallbacks
def purgeThenStop(directory, rootResource, cutoff, verbose=False, dryrun=False):
- exitCode = 0
try:
count = (yield purgeOldEvents(directory, rootResource, cutoff,
verbose=verbose, dryrun=dryrun))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100312/8cca83b7/attachment.html>
More information about the calendarserver-changes
mailing list