From: Joey Hess Date: Sat, 31 Aug 2013 02:33:11 +0000 (-0400) Subject: fix new perl warning X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/db6f258745639cac9717c831a62003140480b692?hp=582e52d3ca79d0d5d0335486718fe2167d6304cd fix new perl warning --- diff --git a/IkiWiki/Plugin/bzr.pm b/IkiWiki/Plugin/bzr.pm index 99a07d2c0..e2b102dee 100644 --- a/IkiWiki/Plugin/bzr.pm +++ b/IkiWiki/Plugin/bzr.pm @@ -302,7 +302,7 @@ sub extract_timestamp (@) { open (my $out, "-|", @_); my @log = bzr_log($out); - if (length @log < 1) { + if (length(scalar(@log)) < 1) { return 0; }