diff options
author | 2016-10-08 02:33:08 +0000 | |
---|---|---|
committer | 2016-10-08 02:33:08 +0000 | |
commit | 23f716997d7cc1f396007f5b2e3c4d82dc2e94a3 (patch) | |
tree | 33c968c9d88da2497be2b51969a456ffa88af843 /utils/infra_setup/heat/template.py | |
parent | c84e4a663343a1d19073ce73a5c0596a99d84a52 (diff) | |
parent | 6204bfbe6228d5167bdb67c42cac4c884cdcf664 (diff) |
Merge "autopep8 fix for flake8"
Diffstat (limited to 'utils/infra_setup/heat/template.py')
-rwxr-xr-x | utils/infra_setup/heat/template.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/infra_setup/heat/template.py b/utils/infra_setup/heat/template.py index f05831de..f71e9166 100755 --- a/utils/infra_setup/heat/template.py +++ b/utils/infra_setup/heat/template.py @@ -15,6 +15,7 @@ import shutil import common import consts.parameters as parameters + class TreeNode: def __init__(self): @@ -80,6 +81,7 @@ class TreeNode: template_name = parameters.TEST_TEMPLATE_NAME + def generates_templates(base_heat_template, deployment_configuration): # parameters loaded from file template_dir = common.get_template_dir() @@ -148,7 +150,8 @@ def get_all_heat_templates(template_dir, template_extension): template_files = list() for dirname, dirnames, filenames in os.walk(template_dir): for filename in filenames: - if template_extension in filename and filename.endswith(template_extension) and template_name in filename: + if template_extension in filename and filename.endswith( + template_extension) and template_name in filename: template_files.append(filename) template_files.sort() return template_files |