Fixed not being able to specify a context for the reporter.
This commit is contained in:
parent
294160ad83
commit
d55b1dc9ea
|
@ -28,9 +28,11 @@ class GiteaStatusPush(http.ReporterBase):
|
||||||
name = "GiteaStatusPush"
|
name = "GiteaStatusPush"
|
||||||
ssh_url_match = re.compile(r"(ssh://)?[\w+\-\_]+@[\w\.\-\_]+:?(\d*/)?(?P<owner>[\w_\-\.]+)/(?P<repo_name>[\w_\-\.]+?)(\.git)?$")
|
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,
|
def checkConfig(self, baseURL, token,
|
||||||
debug=None, verify=None, generators=None,
|
context=None, context_pr=None, verbose=False,
|
||||||
**kwargs):
|
debug=None, verify=None,
|
||||||
|
generators=None,
|
||||||
|
warningAsSuccess=False, **kwargs):
|
||||||
|
|
||||||
if generators is None:
|
if generators is None:
|
||||||
generators = self._create_default_generators()
|
generators = self._create_default_generators()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user