[CalendarServer-changes] [4757] CalendarServer/trunk/twistedcaldav/upgrade.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Nov 17 17:18:33 PST 2009
Revision: 4757
http://trac.macosforge.org/projects/calendarserver/changeset/4757
Author: glyph at apple.com
Date: 2009-11-17 17:18:30 -0800 (Tue, 17 Nov 2009)
Log Message:
-----------
pyflakes (unused variables)
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/upgrade.py
Modified: CalendarServer/trunk/twistedcaldav/upgrade.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/upgrade.py 2009-11-18 00:49:21 UTC (rev 4756)
+++ CalendarServer/trunk/twistedcaldav/upgrade.py 2009-11-18 01:18:30 UTC (rev 4757)
@@ -462,10 +462,10 @@
try:
with open(versionFilePath) as versionFile:
onDiskVersion = int(versionFile.read().strip())
- except IOError, e:
+ except IOError:
log.error("Cannot open %s; skipping migration" %
(versionFilePath,))
- except ValueError, e:
+ except ValueError:
log.error("Invalid version number in %s; skipping migration" %
(versionFilePath,))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20091117/1e765473/attachment.html>
More information about the calendarserver-changes
mailing list