Commit 32f923ab authored by Aurel's avatar Aurel

object_list variable is a dict, not a list

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43382 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 435ebcb0
...@@ -72,7 +72,7 @@ for item in listbox:\n ...@@ -72,7 +72,7 @@ for item in listbox:\n
bt_title_list = []\n bt_title_list = []\n
for bt_id in bt_id_list:\n for bt_id in bt_id_list:\n
if bt_id not in bt_dict.keys():\n if bt_id not in bt_dict.keys():\n
object_list=[]\n object_list={}\n
else:\n else:\n
object_list = bt_dict[bt_id]\n object_list = bt_dict[bt_id]\n
bt = context.portal_templates[bt_id]\n bt = context.portal_templates[bt_id]\n
......
40884 40885
\ No newline at end of file \ 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