diff options
author | intrigeri <intrigeri@boum.org> | 2008-10-14 23:55:46 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2008-10-18 15:49:11 +0200 |
commit | dc74c8e5770a1b1df02a001e5c8ffd5cf1325252 (patch) | |
tree | 7bf6e09cd3a19e352a7a816c0e8af07c82be337d | |
parent | 9332457e6c9fb6699181c1b890d0045bd11ef88d (diff) | |
download | ikiwiki-dc74c8e5770a1b1df02a001e5c8ffd5cf1325252.tar ikiwiki-dc74c8e5770a1b1df02a001e5c8ffd5cf1325252.tar.gz |
po plugin: do not trust po4a functions return value
Signed-off-by: intrigeri <intrigeri@boum.org>
-rw-r--r-- | IkiWiki/Plugin/po.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index 900ca90e4..42391089b 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -105,7 +105,7 @@ sub refreshpot ($) { #{{{ $doc->{TT}{utf_mode} = 1; $doc->{TT}{file_in_charset} = 'utf-8'; $doc->{TT}{file_out_charset} = 'utf-8'; - $doc->parse or error("[po/refreshpot:$masterfile]: failed to parse"); + $doc->parse; $doc->writepo($potfile); } #}}} |