[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:
Stefan Rijnhart
2013-09-17 14:23:12 +02:00
parent a46cbb7a31
commit b224b40fac
+1 -1
View File
@@ -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)