[CalendarServer-changes] [12908] CalendarServer/trunk/calendarserver/tap/caldav.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Mar 14 07:48:21 PDT 2014
Revision: 12908
http://trac.calendarserver.org//changeset/12908
Author: cdaboo at apple.com
Date: 2014-03-14 07:48:21 -0700 (Fri, 14 Mar 2014)
Log Message:
-----------
Fix bug preventing startup.
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/tap/caldav.py
Modified: CalendarServer/trunk/calendarserver/tap/caldav.py
===================================================================
--- CalendarServer/trunk/calendarserver/tap/caldav.py 2014-03-14 14:19:26 UTC (rev 12907)
+++ CalendarServer/trunk/calendarserver/tap/caldav.py 2014-03-14 14:48:21 UTC (rev 12908)
@@ -1767,6 +1767,7 @@
# Start listening on the stats socket, for administrators to inspect
# the current stats on the server.
+ stats = None
if config.Stats.EnableUnixStatsSocket:
stats = DashboardServer(logger, cl if config.UseMetaFD else None)
statsService = GroupOwnedUNIXServer(
@@ -1822,7 +1823,8 @@
if store is None:
raise StoreNotAvailable()
- stats.store = store
+ if stats is not None:
+ stats.store = store
from twisted.internet import reactor
pool = PeerConnectionPool(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140314/695cf65d/attachment-0001.html>
More information about the calendarserver-changes
mailing list