Commit 45a3ac2c authored by Yoshinori Okuji's avatar Yoshinori Okuji

Do not iterate unnecessarily.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1090 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e9812259
......@@ -17,7 +17,6 @@ request=context.REQUEST
for x in range(len(field_columns)):
if field_columns.count(field_columns[x]) > 1:
for y in range(field_columns.count(field_columns[x]) - 1):
field_columns[x] = 'None'
stat_columns[x] = ' '
......
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