Honouring verify_ssl when using username/password for authentication …

reviewable/pr18780/r1
Stefan Magnus Landrø 9 years ago committed by René Moser
parent 247e17a665
commit fe2dc427d4

@ -357,7 +357,7 @@ def main():
# or with login_token
try:
if use_credentials:
git = gitlab.Gitlab(host=server_url)
git = gitlab.Gitlab(host=server_url, verify_ssl=verify_ssl)
git.login(user=login_user, password=login_password)
else:
git = gitlab.Gitlab(server_url, token=login_token, verify_ssl=verify_ssl)

Loading…
Cancel
Save