summaryrefslogtreecommitdiff
path: root/heatclient/common
diff options
context:
space:
mode:
authorricolin <rico.l@inwinstack.com>2015-11-16 00:42:28 +0800
committerricolin <rico.l@inwinstack.com>2015-12-01 00:31:31 +0800
commit978eeb39949afa64d9bbbee7ae5799d45e9fd3d8 (patch)
treecf04a34dc5fffea6edacba1c362a9f299a1f4849 /heatclient/common
parentec2530b975200c98ca93131725e62705f57badfd (diff)
downloadpython-heatclient-978eeb39949afa64d9bbbee7ae5799d45e9fd3d8.tar.gz
Enable pep8 E126 test
Enable E126 continuation line over-indented for hanging indent. Change-Id: I12ca2d8d610574dfcd528b0e613ec0328f4fb45e
Diffstat (limited to 'heatclient/common')
-rw-r--r--heatclient/common/http.py3
-rw-r--r--heatclient/common/template_utils.py3
2 files changed, 2 insertions, 4 deletions
diff --git a/heatclient/common/http.py b/heatclient/common/http.py
index fad6627..1fbcdcd 100644
--- a/heatclient/common/http.py
+++ b/heatclient/common/http.py
@@ -215,8 +215,7 @@ class HTTPClient(object):
{
'option': '--include-password',
'var': 'HEAT_INCLUDE_PASSWORD=1',
- 'content': resp.content
- })
+ 'content': resp.content})
elif 400 <= resp.status_code < 600:
raise exc.from_response(resp)
elif resp.status_code in (301, 302, 305):
diff --git a/heatclient/common/template_utils.py b/heatclient/common/template_utils.py
index 6d58b99..4fa72d8 100644
--- a/heatclient/common/template_utils.py
+++ b/heatclient/common/template_utils.py
@@ -49,8 +49,7 @@ def get_template_contents(template_file=None, template_url=None,
{
'arg1': '--template-file',
'arg2': '--template-url',
- 'arg3': '--template-object'
- })
+ 'arg3': '--template-object'})
if not tpl:
raise exc.CommandError(_('Could not fetch template from %s')