From 0020e3009a45d8ac56a44dda6297562f5ba470e3 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 29 Apr 2020 21:11:25 +0200 Subject: [PATCH] Filter mbs message, since that's not a real user It also overload the consumer --- fedbadges/rules.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fedbadges/rules.py b/fedbadges/rules.py index 89a6bbe..7502bee 100644 --- a/fedbadges/rules.py +++ b/fedbadges/rules.py @@ -227,7 +227,8 @@ def matches(self, msg): awardees = frozenset([ user for user in awardees if not ( user.startswith('192.168.') or - user.startswith('10.') + user.startswith('10.') or + user.startswith('mbs/') ) ])