[cubicweb/pyramid] don't break when no recurses
authorArthur Lutz <arthur.lutz@logilab.fr>
Thu, 08 Dec 2016 11:18:59 +0100
changeset 100 6e900481b0d2
parent 99 5020bcb8838c
child 101 0f79a393517c
[cubicweb/pyramid] don't break when no recurses
cubicweb/pyramid/pyramid.ini
--- a/cubicweb/pyramid/pyramid.ini	Thu Dec 08 11:18:42 2016 +0100
+++ b/cubicweb/pyramid/pyramid.ini	Thu Dec 08 11:18:59 2016 +0100
@@ -2,13 +2,13 @@
 cubicweb.includes =
     cubicweb.pyramid.auth
     cubicweb.pyramid.login
-{% for include in config.pyramid.includes %}
+{% for include in config.pyramid.includes|default((), true)  %}
     {{ include }}
 {% endfor %}
 
 cubicweb.profile = no
-cubicweb.sessions.secret = {{ config.pyramid.sessions_secret }}
+cubicweb.session.secret = {{ config.pyramid.session_secret }}
 cubicweb.auth.authtkt.session.secret = {{ config.pyramid.authtk_session_secret }}
 cubicweb.auth.authtkt.session.secure = False
 cubicweb.auth.authtkt.persistent.secret = {{ config.pyramid.authtk_persistent_secret }}
-cubicweb.auth.authtkt.persistent.secure = False
\ No newline at end of file
+cubicweb.auth.authtkt.persistent.secure = False