Commit f0ca8ab0 authored by Łukasz Nowak's avatar Łukasz Nowak

Accept slap-parameter section existence.

It allows provide to set some defaults.
parent d88ca8a3
...@@ -98,7 +98,8 @@ class Recipe: ...@@ -98,7 +98,8 @@ class Recipe:
buildout.set('buildout', 'installed', buildout.set('buildout', 'installed',
'.installed-%s.cfg' % software_type) '.installed-%s.cfg' % software_type)
buildout.add_section('slap-parameter') if not buildout.has_section('slap-parameter'):
buildout.add_section('slap-parameter')
for parameter, value in self.parameter_dict.items(): for parameter, value in self.parameter_dict.items():
buildout.set('slap-parameter', parameter, value) buildout.set('slap-parameter', parameter, value)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment