From: Don Armstrong Date: Tue, 12 Feb 2008 08:24:48 +0000 (-0800) Subject: add missing if $DEBUG to Debbugs::Status::bug_archiveable X-Git-Tag: release/2.6.0~507^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2d6af013498f46a09e2cfdc092ce2b76eea7dad2;p=debbugs.git add missing if $DEBUG to Debbugs::Status::bug_archiveable --- diff --git a/Debbugs/Status.pm b/Debbugs/Status.pm index 360cf38..580a62a 100644 --- a/Debbugs/Status.pm +++ b/Debbugs/Status.pm @@ -624,7 +624,7 @@ sub bug_archiveable{ # Bugs can be archived if they are # 1. Closed if (not defined $status->{done} or not length $status->{done}) { - print STDERR "Cannot archive $param{bug} because it is not done\n"; + print STDERR "Cannot archive $param{bug} because it is not done\n" if $DEBUG; return $cannot_archive } # If we just are checking if the bug can be archived, we'll not even bother