aboutsummaryrefslogtreecommitdiff
path: root/modules/git_webhooks/gitlab.py
diff options
context:
space:
mode:
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: