Merge lp:~wgrant/pygettextpo/bug-1269662 into lp:pygettextpo
Status: | Merged |
---|---|
Merged at revision: | 25 |
Proposed branch: | lp:~wgrant/pygettextpo/bug-1269662 |
Merge into: | lp:pygettextpo |
Diff against target: |
40 lines (+6/-4) 1 file modified
gettextpo.c (+6/-4) |
To merge this branch: | bzr merge lp:~wgrant/pygettextpo/bug-1269662 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Celso Providelo (community) | Approve | ||
Launchpad PQM Bot | Pending | ||
Review via email: mp+201874@code.launchpad.net |
Commit message
Fix set_msgstr, set_msgstr_plural and set_comments to not segfault when given None on gettext >= 0.18.2.
Description of the change
Fix set_msgstr, set_msgstr_plural and set_comments to not segfault when given None on gettext >= 0.18.2.
set_msgstr(None) tries to set the msgstr to NULL, despite po_message_
Looks very good, assuming the gettext version on precise will not choke when given empty strings instead of NULL (by the facts the documentation has not been extremely accurate in this subject).
Let's make LP way to trusty ...