Commit 085d1985 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix docstring.

Remove useless dict copy (dict is no longer modifier in this method).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18509 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c8c37b27
......@@ -152,7 +152,8 @@ def groupWorklistListByCondition(worklist_dict, acceptable_key_dict,
}
}
acceptable_key_dict:
['foo', 'baz']
{'foo': None,
'baz': None}
Output a 2-tuple:
(
[{'workflow_A/worklist_AA': {'foo': (1, 2)}
......@@ -165,7 +166,6 @@ def groupWorklistListByCondition(worklist_dict, acceptable_key_dict,
{} # Contains metadata information, one entry per worklist.
)
"""
acceptable_key_dict = acceptable_key_dict.copy()
# One entry per worklist group, based on filter criterions.
worklist_set_dict = {}
metadata_dict = {}
......
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