This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit 22be4c483ee4b116b47b7d12807c88653a21600b
Author: Niels Thykier <ni...@thykier.net>
Date:   Sun Oct 8 05:38:01 2017 +0000

    L::CheckScript: Drop unused arguments in new
    
    Signed-off-by: Niels Thykier <ni...@thykier.net>
---
 lib/Lintian/CheckScript.pm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/lib/Lintian/CheckScript.pm b/lib/Lintian/CheckScript.pm
index 7fe4b4d..1cdbf49 100644
--- a/lib/Lintian/CheckScript.pm
+++ b/lib/Lintian/CheckScript.pm
@@ -64,15 +64,14 @@ common meta data of the check (such as Needs-Info).
 
 =over 4
 
-=item Lintian::CheckScript->new($basedir, $checkname[, $profile, $lang])
+=item Lintian::CheckScript->new($basedir, $checkname)
 
-Parses the $file as a check desc file.  If $profile and $lang is
-given, translations for the check will be loaded as well.
+Parses the $file as a check desc file.
 
 =cut
 
 sub new {
-    my ($class, $basedir, $checkname, $profile, $lang) = @_;
+    my ($class, $basedir, $checkname) = @_;
     my ($header, @tags) = read_dpkg_control_utf8("$basedir/${checkname}.desc");
     my ($self, $name);
     unless ($name = $header->{'check-script'}) {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git

Reply via email to