summaryrefslogtreecommitdiffstats
path: root/client/escalatorclient
diff options
context:
space:
mode:
authorkong wei <kong.wei2@zte.com.cn>2016-12-21 00:46:58 +0000
committerkong wei <kong.wei2@zte.com.cn>2016-12-21 07:24:17 +0000
commitbb4fad27927c6fba2c6231d136661da050f6f5c6 (patch)
tree20c78d8dd627f9cb5cedf9372c59ad321c0cb062 /client/escalatorclient
parent6963d16b32f0c40ea45be66bbd189d2d5bb070fb (diff)
There are some flake8 errors. Clear them before other work.
Change-Id: Ied9ce8cd0d3c3537c34713ea26cc596914caca85 Signed-off-by: kongwei <kong.wei2@zte.com.cn>
Diffstat (limited to 'client/escalatorclient')
-rw-r--r--client/escalatorclient/common/base.py5
-rw-r--r--client/escalatorclient/shell.py3
-rw-r--r--client/escalatorclient/v1/shell.py4
3 files changed, 4 insertions, 8 deletions
diff --git a/client/escalatorclient/common/base.py b/client/escalatorclient/common/base.py
index 329ca6b..b85dc19 100644
--- a/client/escalatorclient/common/base.py
+++ b/client/escalatorclient/common/base.py
@@ -25,9 +25,8 @@ import warnings
from escalatorclient.openstack.common.apiclient import base
-warnings.warn("The 'escalatorclient.common.base' module is deprecated post "
- "v.0.12.0. Use 'escalatorclient.openstack.common.apiclient.base' "
- "instead of this one.", DeprecationWarning)
+warnings.warn("The 'escalatorclient.common.base' module is deprecated",
+ DeprecationWarning)
getid = base.getid
diff --git a/client/escalatorclient/shell.py b/client/escalatorclient/shell.py
index 8f452b0..782106c 100644
--- a/client/escalatorclient/shell.py
+++ b/client/escalatorclient/shell.py
@@ -280,7 +280,8 @@ class escalatorShell(object):
'escalator, it is specified in paste '
'configuration file at '
'/etc/escalator/api-paste.ini and '
- '/etc/escalator/registry-paste.ini. Without key '
+ '/etc/escalator/registry-paste.ini. '
+ 'Without key '
'the profiling will not be triggered even '
'if osprofiler is enabled on server side.')
diff --git a/client/escalatorclient/v1/shell.py b/client/escalatorclient/v1/shell.py
index 9f9ea4f..f926a8a 100644
--- a/client/escalatorclient/v1/shell.py
+++ b/client/escalatorclient/v1/shell.py
@@ -17,10 +17,6 @@ from __future__ import print_function
import copy
import functools
-import pprint
-import os
-import json
-
from oslo_utils import encodeutils
from oslo_utils import strutils
import escalatorclient.v1.versions