Re: [dev] wmii: Question on

From: Kris Maglione <>
Date: Thu, 1 Oct 2009 00:25:04 -0400

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 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

Kris Maglione
Those people who think they know everything are a great annoyance to
those of us who do.
	--Isaac Asimov
Received on Thu Oct 01 2009 - 04:25:04 UTC

This archive was generated by hypermail 2.2.0 : Thu Oct 01 2009 - 04:36:01 UTC