[CalendarServer-changes] [15290] CalendarServer/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Wed Nov 4 17:20:35 PST 2015
Revision: 15290
http://trac.calendarserver.org//changeset/15290
Author: cdaboo at apple.com
Date: 2015-11-04 17:20:35 -0800 (Wed, 04 Nov 2015)
Log Message:
-----------
pyflakes.
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/webcal/resource.py
CalendarServer/trunk/twistedcaldav/database.py
Modified: CalendarServer/trunk/calendarserver/webcal/resource.py
===================================================================
--- CalendarServer/trunk/calendarserver/webcal/resource.py 2015-11-04 21:02:21 UTC (rev 15289)
+++ CalendarServer/trunk/calendarserver/webcal/resource.py 2015-11-05 01:20:35 UTC (rev 15290)
@@ -210,18 +210,8 @@
def lookupSystemTimezone():
return ""
-try:
- from Foundation import NSTimeZone
- def lookupSystemTimezone():
- return NSTimeZone.localTimeZone().name().encode("utf-8")
-except ImportError:
- def lookupSystemTimezone():
- return ""
-
-
-
def getLocalTimezone():
"""
Returns the default timezone for the server. The order of precedence is:
Modified: CalendarServer/trunk/twistedcaldav/database.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/database.py 2015-11-04 21:02:21 UTC (rev 15289)
+++ CalendarServer/trunk/twistedcaldav/database.py 2015-11-05 01:20:35 UTC (rev 15290)
@@ -22,7 +22,6 @@
"AbstractADBAPIDatabase",
]
-import thread
import threading
try:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20151104/987021e3/attachment.html>
More information about the calendarserver-changes
mailing list