author | Patrick Browne <patrick.browne@amadeus.com> | |
Tue, 30 Sep 2014 08:31:05 +0000 (10:31 +0200) | ||
committer | Patrick Browne <patrick.browne@amadeus.com> | |
Tue, 30 Sep 2014 08:32:07 +0000 (10:32 +0200) | ||
commit | 0c380c5309b9d25a739707cbad80a69f755ff8d5 | |
tree | 06083ceefb79bb94ddedd217f229450372cad241 | tree | snapshot |
parent | 30cfed83c4d662a0996b49fe48eeb9a3ddd09944 | commit | diff |
feat(python-plugin): prepend instead of append ModulePath to sys.path
When importing a module, you expect the plugin repertory to have higher priority
than your site-packages. It will prevent hard to debug clashing module names problems.
At least, if there is a problem, it will fail more loudly than "module did not register
any config callback"
When importing a module, you expect the plugin repertory to have higher priority
than your site-packages. It will prevent hard to debug clashing module names problems.
At least, if there is a problem, it will fail more loudly than "module did not register
any config callback"
src/python.c | diff | blob | history |