[CalendarServer-changes] [2922] CalendarServer/branches/users/cdaboo/staggerstart-2918/twistedcaldav /config.py
source_changes at macosforge.org
source_changes at macosforge.org
Sun Aug 31 19:17:00 PDT 2008
Revision: 2922
http://trac.macosforge.org/projects/calendarserver/changeset/2922
Author: cdaboo at apple.com
Date: 2008-08-31 19:17:00 -0700 (Sun, 31 Aug 2008)
Log Message:
-----------
Log if the config file path is not accessible.
Modified Paths:
--------------
CalendarServer/branches/users/cdaboo/staggerstart-2918/twistedcaldav/config.py
Modified: CalendarServer/branches/users/cdaboo/staggerstart-2918/twistedcaldav/config.py
===================================================================
--- CalendarServer/branches/users/cdaboo/staggerstart-2918/twistedcaldav/config.py 2008-08-31 14:51:01 UTC (rev 2921)
+++ CalendarServer/branches/users/cdaboo/staggerstart-2918/twistedcaldav/config.py 2008-09-01 02:17:00 UTC (rev 2922)
@@ -521,6 +521,8 @@
configDict = readPlist(configFile)
configDict = _cleanup(configDict)
self.update(configDict)
+ elif configFile:
+ log.error("Configuration file does not exist or is inaccessible: %s" % (configFile,))
@staticmethod
def updateNotifications(self, items):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080831/fff60033/attachment.html
More information about the calendarserver-changes
mailing list