Fixed not being able to specify a context for the reporter.

This commit is contained in:
Marvin Pohl 2021-06-22 19:34:30 +02:00
parent 294160ad83
commit d55b1dc9ea

View File

@ -28,9 +28,11 @@ class GiteaStatusPush(http.ReporterBase):
name = "GiteaStatusPush"
ssh_url_match = re.compile(r"(ssh://)?[\w+\-\_]+@[\w\.\-\_]+:?(\d*/)?(?P<owner>[\w_\-\.]+)/(?P<repo_name>[\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()