Subject: changeset in trytond:4.6 Use unique name for _get_language Cache From: Cédric Krier <[email protected]>
changeset 249340435374 in trytond:4.6 details: https://hg.tryton.org/trytond?cmd=changeset;node=249340435374 description: Use unique name for _get_language Cache issue7974 review60481002 (grafted from 0ec012410a55051643fe30e934ca7c978c9dceb9) diffstat: trytond/ir/translation.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r c41339ab68e0 -r 249340435374 trytond/ir/translation.py --- a/trytond/ir/translation.py Tue Jan 22 22:15:51 2019 +0100 +++ b/trytond/ir/translation.py Tue Jan 15 00:02:19 2019 +0100 @@ -77,7 +77,7 @@ overriding_module = fields.Char('Overriding Module', readonly=True) _translation_cache = Cache('ir.translation', size_limit=10240, context=False) - _get_language_cache = Cache('ir.translation') + _get_language_cache = Cache('ir.translation.get_language') @classmethod def __setup__(cls):
