[CalendarServer-changes] [1703]
CalendarServer/branches/release/CalendarServer-1.0-dev/twistedcaldav
/admin/logs.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jul 20 17:03:57 PDT 2007
Revision: 1703
http://trac.macosforge.org/projects/calendarserver/changeset/1703
Author: wsanchez at apple.com
Date: 2007-07-20 17:03:57 -0700 (Fri, 20 Jul 2007)
Log Message:
-----------
Pulled up r1685 from trunk.
Modified Paths:
--------------
CalendarServer/branches/release/CalendarServer-1.0-dev/twistedcaldav/admin/logs.py
Modified: CalendarServer/branches/release/CalendarServer-1.0-dev/twistedcaldav/admin/logs.py
===================================================================
--- CalendarServer/branches/release/CalendarServer-1.0-dev/twistedcaldav/admin/logs.py 2007-07-21 00:02:58 UTC (rev 1702)
+++ CalendarServer/branches/release/CalendarServer-1.0-dev/twistedcaldav/admin/logs.py 2007-07-21 00:03:57 UTC (rev 1703)
@@ -92,9 +92,9 @@
request_stat['numBAD'] = _strAdd(request_stat['numBAD'], 1)
else:
request_stat['numOther'] = _strAdd(request_stat['numOther'], 1)
- if bytes < request_stat['minbytes']:
+ if bytes < long(request_stat['minbytes']):
request_stat['minbytes'] = str(bytes)
- if bytes > request_stat['maxbytes']:
+ if bytes > long(request_stat['maxbytes']):
request_stat['maxbytes'] = str(bytes)
request_stat['avbytes'] = str((long(request_stat['avbytes']) * old_num + bytes) / (old_num + 1))
if time < request_stat['mintime']:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070720/1c5e48d5/attachment.html
More information about the calendarserver-changes
mailing list