local_settings.py fixes

- there was a bug in the 'misc-section'
  when value is a boolean it would've been printed in ticks.
  In Python boolean is treated as Reference, this means it is
  written uppercase

Change-Id: Idc03f2bd1f7ee519e404e5a30711a81493acf522
This commit is contained in:
Christoph Albers 2017-09-19 15:37:04 +02:00
parent 1f3ed2d4fd
commit d079f432fd
1 changed files with 1 additions and 1 deletions

View File

@ -639,7 +639,7 @@ mod.INSTALLED_APPS += ('<%= p %>', )
<% node["openstack"]["dashboard"]["misc_local_settings"].each do |sec, opts| %>
<%= sec %> = {
<% opts.each do |key, value| %>
'<%= key %>': '<%= value %>',
'<%= key %>': <%= !!value == value ? ( value ? "True" : "False" ) : "'#{value}'" %>,
<% end %>
}
<% end %>