we want both sides of the .split
This commit is contained in:
parent
f92f2c9cc1
commit
9053b2245c
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue