From ad3ec6ae195e9cda3af316d5cc47de0e948abe4c Mon Sep 17 00:00:00 2001 From: Jo¶rgen Karlsson Date: Wed, 13 Jan 2016 16:19:58 +0100 Subject: Fix flake8 errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I14f21092f5e97abf0629a92a27062846a6d3130b JIRA:- Signed-off-by: Jo¶rgen Karlsson (cherry picked from commit 791323df72d8bf4f4f4c32a1e7273721f2adc349) --- yardstick/common/template_format.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'yardstick/common') diff --git a/yardstick/common/template_format.py b/yardstick/common/template_format.py index 881b7e45b..2deaf393c 100644 --- a/yardstick/common/template_format.py +++ b/yardstick/common/template_format.py @@ -56,8 +56,8 @@ def parse(tmpl_str): if tpl is None: tpl = {} # Looking for supported version keys in the loaded template - if not ('HeatTemplateFormatVersion' in tpl - or 'heat_template_version' in tpl - or 'AWSTemplateFormatVersion' in tpl): + if not ('HeatTemplateFormatVersion' in tpl or + 'heat_template_version' in tpl or + 'AWSTemplateFormatVersion' in tpl): raise ValueError("Template format version not found.") return tpl -- cgit 1.2.3-korg