summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-11-02 13:57:21 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2010-11-02 13:57:21 (GMT)
commit8901104e4341619f059bbca13d0482c95a1135ac (patch)
treea5b50983fdb379e345a58b002b2de937a5b3d11b
parent0b4a8634fce68406205377997538879b20748f21 (diff)
downloadtip-bot-8901104e4341619f059bbca13d0482c95a1135ac.zip
tip-bot-8901104e4341619f059bbca13d0482c95a1135ac.tar.gz
tip-bot-8901104e4341619f059bbca13d0482c95a1135ac.tar.bz2
tip-bot-8901104e4341619f059bbca13d0482c95a1135ac.tar.xz
Enable a blacklist
-rwxr-xr-xrobotfmt.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/robotfmt.pl b/robotfmt.pl
index f967d31..75867d8 100755
--- a/robotfmt.pl
+++ b/robotfmt.pl
@@ -90,6 +90,7 @@ $format =~ s/\%b\%n/\%b/; # Remove newline after %b
%cclist = ('mingo@redhat.com' => 1,
'tglx@linutronix.de' => 1,
'hpa@zytor.com' => 1);
+@blacklist = ();
$lkml = 'linux-kernel@vger.kernel.org';
# $lkml = 'hpa+tiptest@zytor.com';
@@ -125,6 +126,11 @@ while (defined($l = <LOG>)) {
}
close(LOG);
+# Remove blacklisted addresses
+foreach $b (@blacklist) {
+ delete $cclist{$b};
+}
+
# WARNING: make sure all the moreheaders are newline-terminated!!!!
%replylist = %cclist;
$replylist{$lkml}++; # Always include LKML in Reply-To: