From 4d83093923afb9feb3372d993f1743a715bf7640 Mon Sep 17 00:00:00 2001 From: kong wei Date: Sat, 4 Mar 2017 16:42:30 +0000 Subject: The code using 'python-escalatorclient' as the client's package name. But the true name is 'escalatorclient'. Now, when the shell command 'escalator' was run, the system said: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name python-escalatorclient was given, but was not able to be found. Change-Id: Ie135038cec8a3475039f280e791a02b7308e39ae Signed-off-by: Kong Wei --- client/escalatorclient/common/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/escalatorclient/common/http.py') diff --git a/client/escalatorclient/common/http.py b/client/escalatorclient/common/http.py index 301eedb..36a2157 100644 --- a/client/escalatorclient/common/http.py +++ b/client/escalatorclient/common/http.py @@ -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 -- cgit 1.2.3-korg