The default dict is not going to get any args

This commit is contained in:
Sharoon Thomas 2012-12-14 15:10:22 +05:30
parent 8a51305b82
commit 10c3ae8d18
1 changed files with 1 additions and 1 deletions

View File

@ -1112,7 +1112,7 @@ class Project(ModelSQL, ModelView):
open_task_ids = self.search(
[('state', '=', 'opened')], order=[('assigned_to', 'ASC')]
)
tasks_by_employee_by_state = defaultdict(lambda a: defaultdict(list))
tasks_by_employee_by_state = defaultdict(lambda: defaultdict(list))
for task in self.browse(open_task_ids):
tasks_by_employee_by_state[task.assigned_to][
task.progress_state