Merge pull request #3416 from Spredzy/urllib_parse

plugins/tower.py: Use urllib.parse rather than urlparse

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot] 2019-03-18 13:16:29 +00:00 committed by GitHub
commit 9ab7752d32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,11 @@ import sys
import json
import requests
from requests.auth import HTTPBasicAuth
from urlparse import urljoin
try:
from urlparse import urljoin
except ImportError:
from urllib.parse import urljoin
def parse_configuration():