Commit b44f745e authored by Jérome Perrin's avatar Jérome Perrin

fix wrong variable name

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23535 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6077e8c6
......@@ -73,8 +73,6 @@ stool = portal.portal_simulation\n
from_date = request[\'from_date\']\n
to_date = request[\'to_date\']\n
\n
result_list = [ ]\n
\n
# get all resources used for leave requests\n
resource_list = []\n
for inventory in stool.getInventoryList(\n
......@@ -87,7 +85,7 @@ for inventory in stool.getInventoryList(\n
portal.portal_categories.restrictedTraverse(\n
inventory.resource_relative_url).getTitle()))\n
\n
return result_list\n
return resource_list\n
</string> </value>
</item>
<item>
......@@ -142,7 +140,6 @@ return result_list\n
<string>_getitem_</string>
<string>from_date</string>
<string>to_date</string>
<string>result_list</string>
<string>resource_list</string>
<string>_getiter_</string>
<string>inventory</string>
......
350
\ No newline at end of file
351
\ 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