generate_config: Enable 'do' j2 extension 57/52957/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 1 Mar 2018 19:57:23 +0000 (20:57 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 1 Mar 2018 19:58:16 +0000 (20:58 +0100)
commit47bd97b8cf09c26619e106874eab6c84b5060f67
tree854a5a597a900724b3c82328b8ef502acfb98b04
parentd7603817b4d82b3e4c493d9f4c2367b84c8f1e23
generate_config: Enable 'do' j2 extension

'do' is useful to avoid hacks like {% set _ = x.update(...) %}.
Instead: {% do x.update(...) %}.

[1] http://jinja.pocoo.org/docs/2.10/extensions/

Change-Id: I886beb97e0383ba11b81aa21cf12b11ebc4b05b2
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
config/utils/generate_config.py