Correct missing dollar sign to match end of line correctly in repo_name regex.

This commit is contained in:
Benjamin Füldner 2020-05-27 13:44:53 +02:00
parent 8d2daa294f
commit 7402436b9c
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ import re
class GiteaStatusPush(http.HttpStatusPushBase):
name = "GiteaStatusPush"
neededDetails = dict(wantProperties=True)
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)?$")
@defer.inlineCallbacks
def reconfigService(self, baseURL, token,