From a9b8936a4dfddb0ce20b458427c7d91d76e4163a Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Wed, 18 Sep 2013 09:44:07 +0200 Subject: [PATCH] [RVT] Undo previous fix bzr revid: stefan@therp.nl-20130918074407-ae6yu2f001vxl0le --- openerp/tools/translate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/tools/translate.py b/openerp/tools/translate.py index 08cfa362b9e..f1efbc17f2d 100644 --- a/openerp/tools/translate.py +++ b/openerp/tools/translate.py @@ -874,7 +874,7 @@ def trans_generate(lang, modules, cr): if module: src_file = open(fabsolutepath, 'r') try: - for lineno, message, comments, _context in extract.extract(extract_method, src_file, + for lineno, message, comments in extract.extract(extract_method, src_file, keywords=extract_keywords): push_translation(module, trans_type, display_path, lineno, encode(message), comments + extra_comments)