Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
apachedex
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastien Robin
apachedex
Commits
8b3eb763
Commit
8b3eb763
authored
Apr 14, 2013
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use itervalues instead of values.
data_dict is not modified in loop.
parent
6045932f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
apachedex/__init__.py
apachedex/__init__.py
+1
-1
No files found.
apachedex/__init__.py
View file @
8b3eb763
...
@@ -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
.
iter
values
():
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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment