`key_namespace`: Namespace under which keys will be created.
"""
+from six.moves.urllib import parse
from stevedore import driver
-from neutron.openstack.common.py3kcompat import urlutils
-
def _get_olso_configs():
"""Returns the oslo.config options to register."""
:param conf: Configuration instance to use
"""
- parsed = urlutils.urlparse(url)
+ parsed = parse.urlparse(url)
backend = parsed.scheme
query = parsed.query
# http://hg.python.org/cpython/rev/79e6ff3d9afd
if not query and '?' in parsed.path:
query = parsed.path.split('?', 1)[-1]
- parameters = urlutils.parse_qsl(query)
+ parameters = parse.parse_qsl(query)
kwargs = {'options': dict(parameters)}
mgr = driver.DriverManager('neutron.openstack.common.cache.backends', backend,