From 80f3aab4467280a9499062035dc1fe60d3ece16d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20F=C3=BCldner?= Date: Wed, 27 May 2020 13:44:53 +0200 Subject: [PATCH] Correct missing dollar sign to match end of line correctly in repo_name regex. --- buildbot_gitea/reporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot_gitea/reporter.py b/buildbot_gitea/reporter.py index e1f6abc..f5b988a 100644 --- a/buildbot_gitea/reporter.py +++ b/buildbot_gitea/reporter.py @@ -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[\w_\-\.]+)/(?P[\w_\-\.]+?)(\.git)?") + ssh_url_match = re.compile(r"(ssh://)?[\w+\-\_]+@[\w\.\-\_]+:?(\d*/)?(?P[\w_\-\.]+)/(?P[\w_\-\.]+?)(\.git)?$") @defer.inlineCallbacks def reconfigService(self, baseURL, token,