diff options
| author | 2019-10-25 22:46:02 +0100 | |
|---|---|---|
| committer | 2019-10-25 22:46:02 +0100 | |
| commit | 9053b2245c3b8888cd7dc3cd4ae5ddd412472885 (patch) | |
| tree | 9cd68f2993b8c72c3984845fc99a923905db3fc3 | |
| parent | make `repo_username` the subgroup when present (diff) | |
| signature | ||
we want both sides of the .split
| -rw-r--r-- | modules/git_webhooks/gitlab.py | 2 |
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: |
