Use urllib.parse instead of urlparse

python3 moved this to a new module.

(cherry picked from commit 86d556e87c)
This commit is contained in:
Brian C. Lane 2018-08-21 16:49:41 -07:00
parent e3ef3d9a29
commit 9249d21d6f

View File

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