From bb4fad27927c6fba2c6231d136661da050f6f5c6 Mon Sep 17 00:00:00 2001 From: kong wei Date: Wed, 21 Dec 2016 00:46:58 +0000 Subject: There are some flake8 errors. Clear them before other work. Change-Id: Ied9ce8cd0d3c3537c34713ea26cc596914caca85 Signed-off-by: kongwei --- client/escalatorclient/common/base.py | 5 ++--- client/escalatorclient/shell.py | 3 ++- client/escalatorclient/v1/shell.py | 4 ---- 3 files changed, 4 insertions(+), 8 deletions(-) (limited to 'client') 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 -- cgit 1.2.3-korg