getResponsibleAuthors: Respect checkResponsible

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-10-07 10:47:22 -04:00
parent 58ad3b4b6c
commit 2c90857689

View file

@ -262,7 +262,7 @@ sub getResponsibleAuthors {
if ($prevBuild) {
foreach my $curInput ($build->buildinputs_builds) {
next unless ($curInput->type eq "git" || $curInput->type eq "hg");
next unless (($curInput->type eq "git" || $curInput->type eq "hg") && $curInput->checkresponsible);
my $prevInput = $prevBuild->buildinputs_builds->find({ name => $curInput->name });
next unless defined $prevInput;