Merge "The escalator's port is 19393. The command 'escalator version' means get the...
[escalator.git] / client / escalatorclient / common / http.py
index e3e4b88..36a2157 100644 (file)
 import copy
 import logging
 import socket
-from oslo.utils import encodeutils
+from oslo_utils import encodeutils
 from escalatorclient.common import https
 from escalatorclient.common.utils import safe_header
 from escalatorclient import exc
-from oslo.utils import importutils
-from oslo.utils import netutils
+from oslo_utils import importutils
+from oslo_utils import netutils
 from simplejson import decoder
 import requests
 try:
@@ -45,7 +45,7 @@ if not hasattr(parse, 'parse_qsl'):
 osprofiler_web = importutils.try_import("osprofiler.web")
 
 LOG = logging.getLogger(__name__)
-USER_AGENT = 'python-escalatorclient'
+USER_AGENT = 'escalatorclient'
 CHUNKSIZE = 1024 * 64  # 64kB