Mercurial > p > roundup > code
changeset 5528:bb364082a14a
msgfmt.make doesn't exist any more
| author | Christof Meerwald <cmeerw@cmeerw.org> |
|---|---|
| date | Mon, 03 Sep 2018 20:29:11 +0100 |
| parents | a7c3cd2edf51 |
| children | 0dea3d6944c5 |
| files | roundup/i18n.py |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/i18n.py Mon Sep 03 12:00:46 2018 +0200 +++ b/roundup/i18n.py Mon Sep 03 20:29:11 2018 +0100 @@ -137,7 +137,8 @@ # see what we've found if motime < potime: # compile - msgfmt.make(pofile, mofile) + mo = msgfmt.Msgfmt(pofile).get() + open(mofile, 'wb').write(mo) elif motime == 0: # no files found - proceed to the next locale name continue
