[RVT] Undo previous fix
authorStefan Rijnhart <stefan@therp.nl>
Wed, 18 Sep 2013 07:44:07 +0000 (09:44 +0200)
committerStefan Rijnhart <stefan@therp.nl>
Wed, 18 Sep 2013 07:44:07 +0000 (09:44 +0200)
bzr revid: stefan@therp.nl-20130918074407-ae6yu2f001vxl0le

openerp/tools/translate.py

index 08cfa36..f1efbc1 100644 (file)
@@ -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)