Commit ac164fb6 authored by Vincent Pelletier's avatar Vincent Pelletier

We don't need a cmp function, as TIDs are directly comparable.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1691 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent a2d4ec32
......@@ -768,7 +768,6 @@ class Application(object):
for tid_list in self.local_var.node_tids.itervalues():
update(tid_list)
ordered_tids = list(ordered_tids)
# XXX do we need a special cmp function here ?
ordered_tids.sort(reverse=True)
logging.debug("UndoLog, tids %s", ordered_tids)
# For each transaction, get info
......
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