Fix cache in ir.translation for issue145

This commit is contained in:
Cédric Krier committed 2008-06-26 13:07:22 +02:00
1 parent 0c076b75d4
commit 3c87e9c772
1 file changed
-1
-1
View File
@@ -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