From 54d7b2ac6316fda0c98a21966ae7ffeb582c4360 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 8 Jan 2009 11:04:56 +0100 Subject: [PATCH] [FIX] the cache key is sorted using, items keys, avoiding to compare items values lp bug: https://launchpad.net/bugs/314979 fixed bzr revid: christophe@tinyerp.com-20090108100456-1oot7y77w4symn1j --- bin/tools/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tools/misc.py b/bin/tools/misc.py index 4260282d426..c42c77a056e 100644 --- a/bin/tools/misc.py +++ b/bin/tools/misc.py @@ -560,7 +560,7 @@ class cache(object): def to_tuple(d): i = d.items() - i.sort() + i.sort(key=lambda (x,y): x) return tuple(i) if not self.multi: