doctormo / python-gitlab3

Python wrapper for the entire GitLab API
GNU Lesser General Public License v3.0
46 stars 25 forks source link

Fix host trailing slash #12

Closed samrocketman closed 7 years ago

samrocketman commented 10 years ago

If user executes...

import gitlab3
gl=gitlab3.GitLab('http://gitlab.example.com/','api_token')

Then their API URLs will look like http://gitlab.example.com//api/v3/.... This fixes that.