# HG changeset patch # User Christophe de Vienne # Date 1421445005 -3600 # Node ID 10a1ee7836ed660c2b5d08bc29763d008fb0d2bd # Parent ff581d66f682c9d6680af033395f17ea71f5207f Fix configuration loading when 'cubicweb.includes' is not set Closes #4849314 diff -r ff581d66f682 -r 10a1ee7836ed pyramid_cubicweb/__init__.py --- a/pyramid_cubicweb/__init__.py Mon Jan 05 15:54:12 2015 +0100 +++ b/pyramid_cubicweb/__init__.py Fri Jan 16 22:50:05 2015 +0100 @@ -51,7 +51,7 @@ if asbool(config.registry.settings.get('cubicweb.defaults', True)): config.include('pyramid_cubicweb.defaults') - for name in aslist(config.registry.settings.get('cubicweb.includes')): + for name in aslist(config.registry.settings.get('cubicweb.includes', [])): config.include(name) config.include('pyramid_cubicweb.core')