Reverse the order in which repositories are added to sys.path.
authorVincent Pelletier <vincent@nexedi.com>
Tue, 28 Jun 2011 16:15:45 +0000 (16:15 +0000)
committerVincent Pelletier <vincent@nexedi.com>
Tue, 28 Jun 2011 16:16:37 +0000 (16:16 +0000)
commitcdff9aa0dbdd34488c1a5874d22bb71c5c831e81
tree8ee9eb825831d0a8d267f7bcb65e17b2c136dabd
parentb1280ca8aa0cb270bb2b23c9340f81178bcbf93c
Reverse the order in which repositories are added to sys.path.

Detailed rationale:
erp5/softwre.cfg defines
  repository_id_list = erp5
It is not possible to prepend a value to another in buildout configuration
file syntax, but provides a way to append:
  repository_id_list += foo
In such case, when running tests, one will want to access the test(s)
folder project's repository. But that folder will be shadowed by erp5's.
There is no trivial fix without drawbacks, and this fix is trivial enough
to be considered better than other fixes.
stack/erp5.cfg