wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 1a81a510f30b06b1b99033be288845dd2dd2d747
parent 8a4ccf526bbb4a5bdb55b6551a804f6d20b51727
Author: Kris Maglione <jg@suckless.org>
Date:   Thu,  1 Oct 2009 00:23:27 -0400

Prepend $WMII_CONFPATH to $PYTHONPATH rather than appending it.

Diffstat:
alternative_wmiircs/python/wmiirc | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/alternative_wmiircs/python/wmiirc b/alternative_wmiircs/python/wmiirc @@ -1,7 +1,9 @@ #!/usr/bin/env python import os, sys +path = [] for p in os.environ.get("WMII_CONFPATH", "").split(':'): - sys.path += [p, p + '/python'] + path += [p, p + '/python'] +sys.path = path + sys.path import pygmi import wmiirc