From d110e776d3c178444130b1361a50b00eac7c0275 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Thu, 26 Oct 2006 13:49:45 +0000 Subject: streamline portage pythonpath handling and add an override analog to how the bash side does it svn path=/main/trunk/; revision=4822 --- pym/dispatch_conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/dispatch_conf.py') diff --git a/pym/dispatch_conf.py b/pym/dispatch_conf.py index 9e2c0bd2d..e4c512c45 100644 --- a/pym/dispatch_conf.py +++ b/pym/dispatch_conf.py @@ -10,7 +10,7 @@ from stat import * import os, sys, commands, shutil -sys.path = ["/usr/lib/portage/pym"]+sys.path +sys.path.insert(0, os.environ.get("PORTAGE_PYM_PATH", "/usr/lib/portage/pym")) import portage RCS_BRANCH = '1.1.1' -- cgit v1.2.3-1-g7c22