build_manifest.py: avoid duplicate / in requests

This commit is contained in:
Jordan Petridis 2018-10-31 13:39:21 +02:00
parent 76d38faf20
commit 39e2ddf788
No known key found for this signature in database
GPG key ID: 902CC06D159744F5

View file

@ -140,7 +140,7 @@ def test_get_project_branch():
# Documentation: https://docs.gitlab.com/ce/api/projects.html#list-user-projects
def search_user_namespace(user: str, project: str) -> Dict[str, str]:
print(f"Searching for {project} project in @{user} user's namespace")
path = f"/users/{user}/projects?search={project}"
path = f"users/{user}/projects?search={project}"
return request_wrap(path)