diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_reindexAll.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_reindexAll.xml
index b32596646d1e16f26f4180d72082e83028fd0f81..ddbcf665558dba77c46369fe093e88cca24c5983 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_reindexAll.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_reindexAll.xml
@@ -110,7 +110,7 @@ def Folder_reindexObjectList(id_list_list):\n
 \n
 try:\n
   tree_id_list = folder.getTreeIdList()\n
-except NotImplementedError, AttributeError:\n
+except (NotImplementedError, AttributeError):\n
   # Build a list of list, like this we parse ids only one time,\n
   # and then Folder_reinexObjectList will work with one list at\n
   # a time and remove it from the list of list\n
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 3e990b743e961c843004fbca714976a274c86afd..28621d35adae761a9610140bce7572be86f10c78 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-541
\ No newline at end of file
+542
\ No newline at end of file