summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-10-14 23:55:46 +0200
committerintrigeri <intrigeri@boum.org>2008-10-18 15:49:11 +0200
commitdc74c8e5770a1b1df02a001e5c8ffd5cf1325252 (patch)
tree7bf6e09cd3a19e352a7a816c0e8af07c82be337d /IkiWiki
parent9332457e6c9fb6699181c1b890d0045bd11ef88d (diff)
po plugin: do not trust po4a functions return value
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/po.pm2
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);
} #}}}