From ac164fb6aae3d4472a7ad41deaee91afad054023 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Wed, 10 Feb 2010 17:04:17 +0000 Subject: [PATCH] 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 --- neo/client/app.py | 1 - 1 file changed, 1 deletion(-) diff --git a/neo/client/app.py b/neo/client/app.py index 7dd5e4aa..1afb4724 100644 --- a/neo/client/app.py +++ b/neo/client/app.py @@ -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 -- 2.30.9