Merge lp:~camptocamp/anybox.recipe.openerp/fix-addons-path-1189402 into lp:anybox.recipe.openerp
Proposed by
Guewen Baconnier @ Camptocamp
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 333 | ||||
Proposed branch: | lp:~camptocamp/anybox.recipe.openerp/fix-addons-path-1189402 | ||||
Merge into: | lp:anybox.recipe.openerp | ||||
Diff against target: |
37 lines (+8/-1) 2 files modified
anybox/recipe/openerp/base.py (+5/-1) setup.py (+3/-0) |
||||
To merge this branch: | bzr merge lp:~camptocamp/anybox.recipe.openerp/fix-addons-path-1189402 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Joël Grand-Guillaume @ camptocamp (community) | code review, no test | Approve | |
Nicolas Bessi - Camptocamp (community) | Needs Information | ||
Anybox | Pending | ||
Review via email:
|
Commit message
Use an OrderedDict to store the sources of the branches in order to keep the order defined in the buildout configuration file when the addons-path is generated.
Description of the change
Fix for lp:1189402
Use an OrderedDict so the insertion order of the keys is kept and the addons-path keep the order defined in the buildout configuration file.
It includes a drop-in recipe for the OrderedDict to keep compatibility with Python < 2.7
This is a copy of the recipe [0] proposed by the Python documentation [1].
[0] http://
[1] http://
To post a comment you must log in.
Hello,
Shouldn't we use ordereddict pip package as a python 2.6 dependency instead ? /pypi.python. org/pypi/ ordereddict
It uses the same base code:
https:/