]> git.donarmstrong.com Git - bugscan.git/blobdiff - scanlib.pm
Turn of the debbugs warnings from check_bug_presence.
[bugscan.git] / scanlib.pm
index b207b14fd17f8ea65bd7648f870a1d31b6ba207a..ca042af15f59e2db7f7ad2b16ba83f7533f8dac2 100644 (file)
@@ -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));