aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Wrapper.pm
diff options
context:
space:
mode:
authorJon Dowland <jon@alcopop.org>2011-04-20 22:58:52 +0100
committerJon Dowland <jon@alcopop.org>2011-04-20 22:58:52 +0100
commita0f82c5015864abf7d2afa42d48efef8ed68df08 (patch)
treeb5e6fe1e61eb3b6d3df50523373b95518fc15afb /IkiWiki/Wrapper.pm
parent13a29768647bd64e7ffa29cc07087246222184c4 (diff)
downloadikiwiki-a0f82c5015864abf7d2afa42d48efef8ed68df08.tar
ikiwiki-a0f82c5015864abf7d2afa42d48efef8ed68df08.tar.gz
use debug() for wrapper-generation print outs
Use the debug() subroutine for printing out when wrappers are generated. This has the effect of hiding the messages unless verbose mode is enabled.
Diffstat (limited to 'IkiWiki/Wrapper.pm')
-rw-r--r--IkiWiki/Wrapper.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm
index 84cc7540b..d3b3e00ea 100644
--- a/IkiWiki/Wrapper.pm
+++ b/IkiWiki/Wrapper.pm
@@ -237,8 +237,7 @@ EOF
error("rename $wrapper.new $wrapper: $!");
}
#translators: The parameter is a filename.
- printf(gettext("successfully generated %s"), $wrapper);
- print "\n";
+ debug(gettext("successfully generated %s"), $wrapper);
}
1