Commit 9e5c15d2 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix an exception when keys are not present in kw.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38943 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3fce526b
......@@ -83,7 +83,7 @@ if at_date is None:\n
tracking_kw = {\n
\'at_date\': at_date,\n
\'node\': node,\n
\'limit_expression\': (int(kw.get(\'list_start\')) or 0, int(kw.get(\'list_lines\')) or 20),\n
\'limit_expression\': (int(kw.get(\'list_start\', 0)), int(kw.get(\'list_lines\', 20))),\n
}\n
\n
request = context.REQUEST\n
......
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