we want both sides of the .split

This commit is contained in:
jesopo 2019-10-25 22:46:02 +01:00
parent f92f2c9cc1
commit 9053b2245c

View file

@ -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: