[CalendarServer-changes] [4625] CalendarServer/branches/users/cdaboo/deployment-partition-4593/ twistedcaldav/config.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 21 08:06:27 PDT 2009


Revision: 4625
          http://trac.macosforge.org/projects/calendarserver/changeset/4625
Author:   cdaboo at apple.com
Date:     2009-10-21 08:06:25 -0700 (Wed, 21 Oct 2009)
Log Message:
-----------
Revert previous.

Modified Paths:
--------------
    CalendarServer/branches/users/cdaboo/deployment-partition-4593/twistedcaldav/config.py

Modified: CalendarServer/branches/users/cdaboo/deployment-partition-4593/twistedcaldav/config.py
===================================================================
--- CalendarServer/branches/users/cdaboo/deployment-partition-4593/twistedcaldav/config.py	2009-10-21 14:43:49 UTC (rev 4624)
+++ CalendarServer/branches/users/cdaboo/deployment-partition-4593/twistedcaldav/config.py	2009-10-21 15:06:25 UTC (rev 4625)
@@ -615,15 +615,15 @@
         clearLogLevels()
 
         try:
-            if "DefaultLogLevel" in items:
-                level = items["DefaultLogLevel"]
+            if "DefaultLogLevel" in self._data:
+                level = self._data["DefaultLogLevel"]
                 if not level:
                     level = "warn"
                 setLogLevelForNamespace(None, level)
 
-            if "LogLevels" in items:
-                for namespace in items["LogLevels"]:
-                    setLogLevelForNamespace(namespace, items["LogLevels"][namespace])
+            if "LogLevels" in self._data:
+                for namespace in self._data["LogLevels"]:
+                    setLogLevelForNamespace(namespace, self._data["LogLevels"][namespace])
 
         except InvalidLogLevelError, e:
             raise ConfigurationError("Invalid log level: %s" % (e.level))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20091021/c53a33b7/attachment.html>


More information about the calendarserver-changes mailing list