From bc00c7c9f56d7cc857c18e61e6667966a835471d Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 7 Mar 2007 23:52:20 +0000 Subject: [PATCH 1/1] Turn of the debbugs warnings from check_bug_presence. --- scanlib.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scanlib.pm b/scanlib.pm index b207b14..ca042af 100644 --- a/scanlib.pm +++ b/scanlib.pm @@ -227,6 +227,8 @@ sub scanspooldir() { # only bother to check the versioning status for the distributions indicated by the tags my $relinfo = ""; for my $dist qw(oldstable stable testing unstable experimental) { + local $SIG{__WARN__} = sub {}; + next if (!$disttags{$dist}); if (Debbugs::Status::check_bug_presence(bug => $f, status => $bug, dist => $dist) eq 'pending') { $relinfo .= uc(substr($dist, 0, 1)); -- 2.39.2