Reviewers: ,
Please review this at http://codereview.tryton.org/154005/
Affected files:
M trytond/ir/translation.py
Index: trytond/ir/translation.py
===================================================================
--- a/trytond/ir/translation.py
+++ b/trytond/ir/translation.py
@@ -569,8 +569,8 @@
else:
continue
trans_ctxt += ':%s' % res_id
- entry = polib.POEntry(msgid=translation.src,
- msgstr=translation.value, msgctxt=trans_ctxt, flags=flags)
+ entry = polib.POEntry(msgid=(translation.src or ''),
+ msgstr=(translation.value or ''), msgctxt=trans_ctxt,
flags=flags)
pofile.append(entry)
pofile.sort()
--
[email protected] mailing list