From da0db1f58eb88aa6dfc608ff575e9e2c1c0e610a Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Mon, 23 Jul 2012 13:36:51 +0200
Subject: [PATCH] List are transmitted as JSON.

---
 stack/erp5/buildout.cfg | 2 +-
 stack/erp5/zope.conf.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/stack/erp5/buildout.cfg b/stack/erp5/buildout.cfg
index b1871f789..487cc02fd 100644
--- a/stack/erp5/buildout.cfg
+++ b/stack/erp5/buildout.cfg
@@ -240,7 +240,7 @@ mode = 640
 [template-zope-conf]
 recipe = slapos.recipe.build:download
 url = ${:_profile_base_location_}/zope.conf.in
-md5sum = 599e004c18fd3461aa846ae75bd112f2
+md5sum = ec4203f1f54b05505d8f35cb5799a75c
 mode = 640
 
 [template]
diff --git a/stack/erp5/zope.conf.in b/stack/erp5/zope.conf.in
index af01a8bca..2fa95981e 100644
--- a/stack/erp5/zope.conf.in
+++ b/stack/erp5/zope.conf.in
@@ -80,7 +80,7 @@ products {{ instance_products }}
   container-class Products.TemporaryFolder.TemporaryContainer
 </zodb_db>
 
-{% for db_name, mount_point, cache_size, storage_type, storage_dict in parameter_dict['zodb-list'] -%}
+{% for db_name, mount_point, cache_size, storage_type, storage_dict in json_module.loads(parameter_dict['zodb-list']) -%}
 <zodb_db {{ db_name }}>
 {%-   if cache_size %}
   cache-size {{ cache_size }}
-- 
2.30.9