[CalendarServer-changes] [4165] CalendarServer/trunk/twext/web2/channel/http.py

source_changes at macosforge.org source_changes at macosforge.org
Mon May 4 13:45:53 PDT 2009


Revision: 4165
          http://trac.macosforge.org/projects/calendarserver/changeset/4165
Author:   wsanchez at apple.com
Date:     2009-05-04 13:45:53 -0700 (Mon, 04 May 2009)
Log Message:
-----------
Always set self.logData

Modified Paths:
--------------
    CalendarServer/trunk/twext/web2/channel/http.py

Modified: CalendarServer/trunk/twext/web2/channel/http.py
===================================================================
--- CalendarServer/trunk/twext/web2/channel/http.py	2009-05-04 20:25:21 UTC (rev 4164)
+++ CalendarServer/trunk/twext/web2/channel/http.py	2009-05-04 20:45:53 UTC (rev 4165)
@@ -112,9 +112,10 @@
         if accounting.accountingEnabledForCategory("HTTP"):
             self.logData = LogData()
             self.transport = HTTPLoggingChannelRequest.TransportLoggingWrapper(self.transport, self.logData.response)
+        else:
+            self.logData = None
 
     def gotInitialLine(self, initialLine):
-        
         if self.logData is not None:
             self.startTime = time.time()
             self.logData.request.append(">>>> Request starting at: %.3f\r\n\r\n" % (self.startTime,))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090504/f1c7c513/attachment.html>


More information about the calendarserver-changes mailing list