Commit 8b3eb763 authored by Vincent Pelletier's avatar Vincent Pelletier

Use itervalues instead of values.

data_dict is not modified in loop.
parent 6045932f
...@@ -561,7 +561,7 @@ class ERP5SiteStats(GenericSiteStats): ...@@ -561,7 +561,7 @@ class ERP5SiteStats(GenericSiteStats):
append('</tr>') append('</tr>')
def apdexAsColumns(data_dict): def apdexAsColumns(data_dict):
data_total = APDEXStats(self.threshold, None) data_total = APDEXStats(self.threshold, None)
for data in data_dict.values(): for data in data_dict.itervalues():
data_total.accumulateFrom(data) data_total.accumulateFrom(data)
append(data_total.asHTML(self.threshold, True)) append(data_total.asHTML(self.threshold, True))
for column in column_list: for column in column_list:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment