Commit bb6472a6 authored by Sebastien Robin's avatar Sebastien Robin

make Folder_reindexAll working when HBtreeFolder is not there

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17108 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a365e3da
......@@ -110,7 +110,7 @@ def Folder_reindexObjectList(id_list_list):\n
\n
try:\n
tree_id_list = folder.getTreeIdList()\n
except NotImplementedError:\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
......@@ -233,6 +233,7 @@ else:\n
<string>Folder_reindexObjectList</string>
<string>tree_id_list</string>
<string>NotImplementedError</string>
<string>AttributeError</string>
<string>append</string>
<string>$append0</string>
<string>x</string>
......
539
\ No newline at end of file
541
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment