This is an automated email from the git hooks/post-receive script. nthykier pushed a commit to branch master in repository lintian.
commit fcf2f5f6452cb9065b7d653e7aa9e4b6681798be Author: Niels Thykier <[email protected]> Date: Fri Jun 19 22:49:04 2015 +0200 L::Check: Fix invalid check Signed-off-by: Niels Thykier <[email protected]> --- lib/Lintian/Check.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Lintian/Check.pm b/lib/Lintian/Check.pm index 942a792..3c5392b 100644 --- a/lib/Lintian/Check.pm +++ b/lib/Lintian/Check.pm @@ -276,7 +276,7 @@ Returns the number of spelling mistakes found in TEXT. sub check_spelling { my ($text, $exceptions, $code_ref) = @_; return 0 unless $text; - if (not $code_ref and $exceptions and ref($code_ref) eq 'CODE') { + if (not $code_ref and $exceptions and ref($exceptions) eq 'CODE') { $code_ref = $exceptions; $exceptions = {}; } else { -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

