Use urllib.parse instead of urlparse

python3 moved this to a new module.
This commit is contained in:
Brian C. Lane 2018-08-21 16:49:41 -07:00
parent ee98d87cea
commit 86d556e87c

View File

@ -20,7 +20,7 @@ log = logging.getLogger("composer-cli")
import os import os
import sys import sys
import json import json
from urlparse import urlparse, urlunparse from urllib.parse import urlparse, urlunparse
from composer.unix_socket import UnixHTTPConnectionPool from composer.unix_socket import UnixHTTPConnectionPool