Skip to content

Commit ed8521f

Browse files
committed
Make template variables not required
1 parent 9b7e0aa commit ed8521f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/requirements.txt.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# {{ ansible_managed }}
22

3-
{% for package in odoo_role_odoo_community_packages %}
3+
{% for package in odoo_role_odoo_community_packages|default([]) %}
44
{{ package }}
55
{% endfor %}
66

7-
{% for package in odoo_role_odoo_project_packages %}
7+
{% for package in odoo_role_odoo_project_packages|default([]) %}
88
{{ package }}
99
{% endfor %}

0 commit comments

Comments
 (0)