From 3c87e9c7728865a8f483976dbf839953e9f467ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 26 Jun 2008 13:07:22 +0200 Subject: [PATCH] Fix cache in ir.translation for issue145 --- trytond/ir/translation.py | 1 - 1 file changed, 1 deletion(-) diff --git a/trytond/ir/translation.py b/trytond/ir/translation.py index b0e725b60d..60f9ded3cf 100644 --- a/trytond/ir/translation.py +++ b/trytond/ir/translation.py @@ -266,7 +266,6 @@ class Translation(OSV, Cacheable): 'WHERE ' + clause, value) for lang, ttype, name, src, value in cursor.fetchall(): res[(name, ttype, lang, source)] = value - for name, ttype, lang, source in args: self.add(cursor, (lang, ttype, name, source), res[(name, ttype, lang, source)]) return res