[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:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user