[CalendarServer-changes] [11671] CalendarServer/trunk/twext/python/log.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 11 15:02:07 PDT 2013


Revision: 11671
          http://trac.calendarserver.org//changeset/11671
Author:   wsanchez at apple.com
Date:     2013-09-11 15:02:06 -0700 (Wed, 11 Sep 2013)
Log Message:
-----------
cosmetic

Modified Paths:
--------------
    CalendarServer/trunk/twext/python/log.py

Modified: CalendarServer/trunk/twext/python/log.py
===================================================================
--- CalendarServer/trunk/twext/python/log.py	2013-09-11 21:57:14 UTC (rev 11670)
+++ CalendarServer/trunk/twext/python/log.py	2013-09-11 22:02:06 UTC (rev 11671)
@@ -150,12 +150,15 @@
         """
         return cls._levelPriorities[constant]
 
-LogLevel._levelPriorities = dict((constant, idx)
-                                 for (idx, constant) in
-                                     (enumerate(LogLevel.iterconstants())))
 
+LogLevel._levelPriorities = dict(
+    (constant, idx)
+    for (idx, constant) in
+    (enumerate(LogLevel.iterconstants()))
+)
 
 
+
 #
 # Mappings to Python's logging module
 #
@@ -168,6 +171,7 @@
 }
 
 
+
 ##
 # Loggers
 ##
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130911/cc1917e5/attachment-0001.html>


More information about the calendarserver-changes mailing list