Ticket #511 (new enhancement)
Hookspath should be prepended to hooks.__path__, not appended
|Reported by:||anonymous||Owned by:||htgoebel|
In mf.py, the private hookpath gets appended to the module search path like so: (about line 438 in mf.py)
if hookspath: hooks.__path__.extend(hookspath)
I propose it should be changed to:
if hookspath: hooks.__path__ = hookspath + hooks.__path__
This gives priority to the user hooks rather than the built-in ones.
I wasted a good hour figuring out why my hook module wasn't called...