From: Jon Dowland Date: Wed, 20 Apr 2011 21:58:52 +0000 (+0100) Subject: use debug() for wrapper-generation print outs X-Git-Tag: 3.20110430~21^2~1 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/a0f82c5015864abf7d2afa42d48efef8ed68df08?ds=sidebyside 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. --- 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