[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:
parent
f8e9998c25
commit
54d7b2ac63
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue