[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
This commit is contained in:
Christophe Simonis 2009-01-08 11:04:56 +01:00
parent f8e9998c25
commit 54d7b2ac63
1 changed files with 1 additions and 1 deletions

View File

@ -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: