Merge lp:~laetitia-gangloff/acsone-addons/hr_utilization into lp:~acsone-openerp/acsone-addons/6.1
Proposed by
Laetitia Gangloff (Acsone)
| Status: | Merged |
|---|---|
| Merged at revision: | 26 |
| Proposed branch: | lp:~laetitia-gangloff/acsone-addons/hr_utilization |
| Merge into: | lp:~acsone-openerp/acsone-addons/6.1 |
| Diff against target: |
70 lines (+20/-6) 1 file modified
hr_utilization/report/hr_utilization_report.py (+20/-6) |
| To merge this branch: | bzr merge lp:~laetitia-gangloff/acsone-addons/hr_utilization |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Stéphane Bidoul (Acsone) | Approve | ||
|
Review via email:
|
|||
Description of the change
hr_utilization: make it compatible with python 2.6
To post a comment you must log in.

Laetitia,
I think the method double_ list_to_ dictionary makes things more difficult to understand. In my opinion, the loop creating the dictionary could be put in place in the code, as this does not create code duplication.
list_to_ default_ dictionary is fine, except the docstring should be more explicit, such as
''' create a dictionary with the elements of item_list as keys and default_value as value '''
-sbi