aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorUlas Kozat <ulas.kozat@gmail.com>2016-06-10 21:38:16 -0700
committerUlas Kozat <ulas.kozat@gmail.com>2016-06-10 21:38:16 -0700
commit069277d5ac5cbd1b8e84bb15ed766825aa8059d3 (patch)
tree34958ab6eddc752a0d7a5531f7adb202222bb118 /lib
parent54ceb4a7a213805811c92583d519dce4d4ef6e3f (diff)
Added heat translation support
Change-Id: I9d2462e34eda9e052774be280984dd571ff14650 Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/partitioner/partitioner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/partitioner/partitioner.py b/lib/partitioner/partitioner.py
index a098aca..f5b1546 100644
--- a/lib/partitioner/partitioner.py
+++ b/lib/partitioner/partitioner.py
@@ -45,8 +45,8 @@ def partition_tosca(filepath, nodesite, tpl):
for site in sitenodes:
tpl_l = tpl_local[site]
print tpl_l , '\n'
- file_paths[site] = filepath + '_part' + str(site)
- fout = open(filepath + '_part' + str(site),'w')
+ file_paths[site] = filepath + '_part' + str(site) + '.yaml'
+ fout = open(file_paths[site],'w')
if tpl_l.has_key('tosca_definitions_version'):
fout.write('tosca_definitions_version: ')