From d55b1dc9ea3d94cb0d081b593052520632d047d1 Mon Sep 17 00:00:00 2001 From: Marvin Pohl Date: Tue, 22 Jun 2021 19:34:30 +0200 Subject: [PATCH] Fixed not being able to specify a context for the reporter. --- buildbot_gitea/reporter.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/buildbot_gitea/reporter.py b/buildbot_gitea/reporter.py index 05ff15d..a7c6e52 100644 --- a/buildbot_gitea/reporter.py +++ b/buildbot_gitea/reporter.py @@ -28,9 +28,11 @@ class GiteaStatusPush(http.ReporterBase): name = "GiteaStatusPush" ssh_url_match = re.compile(r"(ssh://)?[\w+\-\_]+@[\w\.\-\_]+:?(\d*/)?(?P[\w_\-\.]+)/(?P[\w_\-\.]+?)(\.git)?$") - def checkConfig(self, token, context=None, baseURL=None, verbose=False, - debug=None, verify=None, generators=None, - **kwargs): + def checkConfig(self, baseURL, token, + context=None, context_pr=None, verbose=False, + debug=None, verify=None, + generators=None, + warningAsSuccess=False, **kwargs): if generators is None: generators = self._create_default_generators()