diff options
author | Jie Hu <hu.jie@zte.com.cn> | 2016-12-21 14:23:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-12-21 14:23:41 +0000 |
commit | 2021d90abd0a12ee6afedc2d0ed2872d67243e97 (patch) | |
tree | bf4e359d7acdfa493ef04d9e138f0b6fd8d20a4a /client | |
parent | 04a66a586cc90b2be310d2323d526e11c95ab258 (diff) | |
parent | bb4fad27927c6fba2c6231d136661da050f6f5c6 (diff) |
Merge "There are some flake8 errors. Clear them before other work."
Diffstat (limited to 'client')
-rw-r--r-- | client/escalatorclient/common/base.py | 5 | ||||
-rw-r--r-- | client/escalatorclient/shell.py | 3 | ||||
-rw-r--r-- | client/escalatorclient/v1/shell.py | 4 |
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 |