[FIX] Restore compatibility with Babel > 0.9.6
lp bug: https://launchpad.net/bugs/1226576 fixed bzr revid: stefan@therp.nl-20130917122312-r6s7dgzdsfil7xyg
This commit is contained in:
@@ -874,7 +874,7 @@ def trans_generate(lang, modules, cr):
|
||||
if module:
|
||||
src_file = open(fabsolutepath, 'r')
|
||||
try:
|
||||
for lineno, message, comments in extract.extract(extract_method, src_file,
|
||||
for lineno, message, comments, _context in extract.extract(extract_method, src_file,
|
||||
keywords=extract_keywords):
|
||||
push_translation(module, trans_type, display_path, lineno,
|
||||
encode(message), comments + extra_comments)
|
||||
|
||||
Reference in New Issue
Block a user