[CalendarServer-changes] [7790] CalendarServer/trunk/contrib/performance/loadtest/profiles.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 14 08:13:11 PDT 2011


Revision: 7790
          http://trac.macosforge.org/projects/calendarserver/changeset/7790
Author:   exarkun at twistedmatrix.com
Date:     2011-07-14 08:13:11 -0700 (Thu, 14 Jul 2011)
Log Message:
-----------
whitespace

Modified Paths:
--------------
    CalendarServer/trunk/contrib/performance/loadtest/profiles.py

Modified: CalendarServer/trunk/contrib/performance/loadtest/profiles.py
===================================================================
--- CalendarServer/trunk/contrib/performance/loadtest/profiles.py	2011-07-14 15:10:29 UTC (rev 7789)
+++ CalendarServer/trunk/contrib/performance/loadtest/profiles.py	2011-07-14 15:13:11 UTC (rev 7790)
@@ -490,7 +490,7 @@
                         operation=operation.upper(), cutoff=lagCutoff * 1000))
 
         for operation, times in self._perOperationTimes.iteritems():
-            failures =  len([success for (success, duration) in times if not success])
+            failures = len([success for (success, duration) in times if not success])
             if failures / len(times) > failCutoff:
                 reasons.append(self._FAILED_REASON % dict(
                         operation=operation.upper(), cutoff=failCutoff * 100))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110714/59364ece/attachment.html>


More information about the calendarserver-changes mailing list