Commit 19ed5c8d authored by Vincent Pelletier's avatar Vincent Pelletier

Use itervalues instead of values.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@645 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 7093110c
......@@ -835,7 +835,7 @@ class Application(object):
# Reorder tids
ordered_tids = []
extend = ordered_tids.extend
for tids in self.local_var.node_tids.values():
for tids in self.local_var.node_tids.itervalues():
extend(tids)
# XXX do we need a special cmp function here ?
ordered_tids.sort(reverse=True)
......
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