aboutsummaryrefslogtreecommitdiff
path: root/modules/git_webhooks/gitlab.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-25 22:46:02 +0100
committerGravatar jesopo2019-10-25 22:46:02 +0100
commit9053b2245c3b8888cd7dc3cd4ae5ddd412472885 (patch)
tree9cd68f2993b8c72c3984845fc99a923905db3fc3 /modules/git_webhooks/gitlab.py
parentmake `repo_username` the subgroup when present (diff)
signature
we want both sides of the .split
Diffstat (limited to 'modules/git_webhooks/gitlab.py')
-rw-r--r--modules/git_webhooks/gitlab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/gitlab.py b/modules/git_webhooks/gitlab.py
index e9b1c41b..bafea0a6 100644
--- a/modules/git_webhooks/gitlab.py
+++ b/modules/git_webhooks/gitlab.py
@@ -52,7 +52,7 @@ class GitLab(object):
def names(self, data, headers):
full_name = data["project"]["path_with_namespace"]
- repo_username, repo_name = full_name.split("/", 1)[0]
+ repo_username, repo_name = full_name.split("/", 1)
organisation = None
if full_name.count("/") == 2: