Commit a2940a24 authored by Vincent Pelletier's avatar Vincent Pelletier

Rename a variable forgotten in previous commit.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29084 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent db4663d2
...@@ -93,7 +93,7 @@ class IdTool(BaseTool): ...@@ -93,7 +93,7 @@ class IdTool(BaseTool):
# Getting the last id # Getting the last id
if default is None: if default is None:
default = 0 default = 0
last_id = dict_ids.get(id_group, default) new_id = dict_ids.get(id_group, default)
if method is None: if method is None:
new_id = new_id + 1 new_id = new_id + 1
else: else:
......
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