From 22ac7ba66eae2d53ded9a1dc46d9e1078db313d2 Mon Sep 17 00:00:00 2001 From: Olivier Laurent Date: Sat, 18 Jul 2009 13:21:10 +0200 Subject: [PATCH] [FIX] RuntimeError in the cache system lp bug: https://launchpad.net/bugs/310918 fixed bzr revid: olt@tinyerp.com-20090718112110-0p29jjruvhiwjrp0 --- bin/tools/misc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/tools/misc.py b/bin/tools/misc.py index a2712ee006e..9d4ea4d66cd 100644 --- a/bin/tools/misc.py +++ b/bin/tools/misc.py @@ -659,9 +659,9 @@ class cache(object): if time.time()-self.timeout > self.lasttime: self.lasttime = time.time() t = time.time()-self.timeout - for key in self.cache.keys(): - if self.cache[key][1]