[CalendarServer-changes] [10140] CalendarServer/trunk/twistedcaldav/timezonestdservice.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Dec 7 17:22:16 PST 2012
Revision: 10140
http://trac.calendarserver.org//changeset/10140
Author: cdaboo at apple.com
Date: 2012-12-07 17:22:16 -0800 (Fri, 07 Dec 2012)
Log Message:
-----------
pyflakiness.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/timezonestdservice.py
Modified: CalendarServer/trunk/twistedcaldav/timezonestdservice.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/timezonestdservice.py 2012-12-07 21:06:09 UTC (rev 10139)
+++ CalendarServer/trunk/twistedcaldav/timezonestdservice.py 2012-12-08 01:22:16 UTC (rev 10140)
@@ -820,7 +820,7 @@
lastmod = timezone["last-modified"]
aliases = timezone.get("aliases", ())
timezones[tzid] = TimezoneInfo(tzid, aliases, lastmod, None)
- except ValueError, KeyError:
+ except (ValueError, KeyError):
log.debug("Failed to parse JSON timezone list response: %s" % (response.data,))
returnValue(None)
log.debug("Got %s timezones from secondary server" % (len(timezones),))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20121207/ad3b3997/attachment.html>
More information about the calendarserver-changes
mailing list