On Wed, Sep 30, 2009 at 09:32:07PM +0200, Thomas Dahms wrote:
I should have tried before replying. This did not work. I had to copy the whole python/ from /etc/wmii-hg to ~/.wmii-hg and edit wmiirc.py in there. I guess the "import wmiirc" in python/wmiirc gives always priority to the working directory regardless of sys.path.
Not to the working directory. Python prepends the path to __main__ (wmiirc in this case) to sys.path. This is fixed in tip.
-- Kris Maglione Those people who think they know everything are a great annoyance to those of us who do. --Isaac Asimov