Commit 42fde347 authored by Jérome Perrin's avatar Jérome Perrin

stack/erp5: fix python-hash-seed=0

parent 0af80260
Pipeline #38154 failed with stage
in 0 seconds
...@@ -90,7 +90,7 @@ md5sum = 0ac4b74436f554cd677f19275d18d880 ...@@ -90,7 +90,7 @@ md5sum = 0ac4b74436f554cd677f19275d18d880
[template-zope] [template-zope]
filename = instance-zope.cfg.in filename = instance-zope.cfg.in
md5sum = 9547bacad0635b0f64cac48f15c4e9ae md5sum = 9c580be982d8c63ec06fc273ef3cb971
[template-balancer] [template-balancer]
filename = instance-balancer.cfg.in filename = instance-balancer.cfg.in
......
...@@ -87,7 +87,7 @@ environment += ...@@ -87,7 +87,7 @@ environment +=
JUPYTER_PATH=${directory:jupyter-dir} JUPYTER_PATH=${directory:jupyter-dir}
JUPYTER_CONFIG_DIR=${directory:jupyter-config-dir} JUPYTER_CONFIG_DIR=${directory:jupyter-config-dir}
JUPYTER_RUNTIME_DIR=${directory:jupyter-runtime-dir} JUPYTER_RUNTIME_DIR=${directory:jupyter-runtime-dir}
{% if slapparameter_dict.get('python-hash-seed') %} {% if slapparameter_dict.get('python-hash-seed') != '' %}
PYTHONHASHSEED={{ slapparameter_dict['python-hash-seed'] }} PYTHONHASHSEED={{ slapparameter_dict['python-hash-seed'] }}
{% endif %} {% endif %}
{% if slapparameter_dict.get('wendelin-core-zblk-fmt') %} {% if slapparameter_dict.get('wendelin-core-zblk-fmt') %}
...@@ -476,7 +476,7 @@ wrapper-path = ${buildout:bin-directory}/runUnitTest ...@@ -476,7 +476,7 @@ wrapper-path = ${buildout:bin-directory}/runUnitTest
recipe = slapos.recipe.template recipe = slapos.recipe.template
inline = inline =
#!/bin/sh #!/bin/sh
{% if slapparameter_dict.get('python-hash-seed') %} {% if slapparameter_dict.get('python-hash-seed') != '' %}
PYTHONHASHSEED={{ slapparameter_dict['python-hash-seed'] }} PYTHONHASHSEED={{ slapparameter_dict['python-hash-seed'] }}
{% endif %} {% endif %}
if [ -z "$PYTHONHASHSEED" ]; then if [ -z "$PYTHONHASHSEED" ]; then
......
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