summaryrefslogtreecommitdiffstats
path: root/bin/fix-db.py
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2006-10-26 13:49:45 +0000
committerMarius Mauch <genone@gentoo.org>2006-10-26 13:49:45 +0000
commitd110e776d3c178444130b1361a50b00eac7c0275 (patch)
tree6fae6e36adc1da056de8e52c32e0e01680a85fec /bin/fix-db.py
parente3d5ecc57975b2a168bc436efd90bc3223f1b4e7 (diff)
downloadportage-d110e776d3c178444130b1361a50b00eac7c0275.tar.gz
portage-d110e776d3c178444130b1361a50b00eac7c0275.tar.bz2
portage-d110e776d3c178444130b1361a50b00eac7c0275.zip
streamline portage pythonpath handling and add an override analog to how the bash side does it
svn path=/main/trunk/; revision=4822
Diffstat (limited to 'bin/fix-db.py')
-rwxr-xr-xbin/fix-db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fix-db.py b/bin/fix-db.py
index 16a151502..fef1a4d44 100755
--- a/bin/fix-db.py
+++ b/bin/fix-db.py
@@ -4,7 +4,7 @@
# $Id$
import os,sys,re
-sys.path = ["/usr/lib/portage/pym"]+sys.path
+sys.path.insert(0, os.environ.get("PORTAGE_PYM_PATH", "/usr/lib/portage/pym"))
from stat import *
from output import *