From 2d6af013498f46a09e2cfdc092ce2b76eea7dad2 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 12 Feb 2008 00:24:48 -0800 Subject: [PATCH] add missing if $DEBUG to Debbugs::Status::bug_archiveable --- Debbugs/Status.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2