From 9053b2245c3b8888cd7dc3cd4ae5ddd412472885 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 25 Oct 2019 22:46:02 +0100 Subject: we want both sides of the .split --- modules/git_webhooks/gitlab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.3.1-10-gc9f91