mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 12:20:45 -03:30
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:
commit
9ab7752d32
@ -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():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user