From f751f4768a84509f5c4b3efc3342ffd7564660f1 Mon Sep 17 00:00:00 2001 From: Jimmy Berry Date: Mon, 16 Apr 2018 18:28:28 -0500 Subject: [PATCH] check_tags_in_requests: replace check_action__default() with built-in. --- check_tags_in_requests.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/check_tags_in_requests.py b/check_tags_in_requests.py index 09b83aa1..758034a8 100755 --- a/check_tags_in_requests.py +++ b/check_tags_in_requests.py @@ -67,6 +67,7 @@ See also https://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Current_s Note that not all of the tags listed there are necessarily supported by OBS on which this bot relies. """ + self.request_default_return = True def isNewPackage(self, tgt_project, tgt_package): try: @@ -143,13 +144,6 @@ by OBS on which this bot relies. def check_action_maintenance_release(self, req, a): return self.checkTagInRequest(req, a) - def check_action__default(self, req, a): - # accept all other requests - self.logger.debug("auto accept request type %s"%a.type) - return True - - - class CommandLineInterface(ReviewBot.CommandLineInterface):