summaryrefslogtreecommitdiff
path: root/hot/software-config/elements/heat-config-ansible
diff options
context:
space:
mode:
authorSirushti Murugesan <sirushti.murugesan@hp.com>2015-05-25 11:35:02 +0530
committerSirushti Murugesan <sirushti.murugesan@hp.com>2015-05-25 11:52:29 +0530
commit4a4641a0a29c46e82b34888733670d397d0777a7 (patch)
treee0c3df35b2f4a165155899db969d7493788ec339 /hot/software-config/elements/heat-config-ansible
parente4dccdee7abe90f7c29caf2b8cca3a874917474c (diff)
downloadheat-templates-4a4641a0a29c46e82b34888733670d397d0777a7.tar.gz
Upgrade Hacking version
Change-Id: Ib2fc7e0d8e27de2fef341e313e29904502158aa4 Closes-Bug: #1458450
Diffstat (limited to 'hot/software-config/elements/heat-config-ansible')
-rwxr-xr-xhot/software-config/elements/heat-config-ansible/install.d/hook-ansible.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hot/software-config/elements/heat-config-ansible/install.d/hook-ansible.py b/hot/software-config/elements/heat-config-ansible/install.d/hook-ansible.py
index 972bd32..2a46c7f 100755
--- a/hot/software-config/elements/heat-config-ansible/install.d/hook-ansible.py
+++ b/hot/software-config/elements/heat-config-ansible/install.d/hook-ansible.py
@@ -57,11 +57,11 @@ def main(argv=sys.argv):
if not config_text:
log.warn("No 'config' input found, nothing to do.")
return
- #Write 'variables' to file
+ # Write 'variables' to file
with os.fdopen(os.open(
vars_filename, os.O_CREAT | os.O_WRONLY, 0o600), 'w') as var_file:
json.dump(variables, var_file)
- #Write the executable, 'config', to file
+ # Write the executable, 'config', to file
with os.fdopen(os.open(fn, os.O_CREAT | os.O_WRONLY, 0o600), 'w') as f:
f.write(c.get('config', '').encode('utf-8'))