summaryrefslogtreecommitdiffstats
path: root/bin/lock-helper.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-21 18:32:08 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-21 18:32:08 -0700
commitb1ff977673d720aa173bc64daa49dfef957fb4ee (patch)
treefbc640b835eea1f947e3e856c1e5380cff7776e7 /bin/lock-helper.py
parent72298bcb48e432011d56143525adb642bd18f1d4 (diff)
downloadportage-b1ff977673d720aa173bc64daa49dfef957fb4ee.tar.gz
portage-b1ff977673d720aa173bc64daa49dfef957fb4ee.tar.bz2
portage-b1ff977673d720aa173bc64daa49dfef957fb4ee.zip
lock-helper.py: use PORTAGE_PYM_PATH for safety
Diffstat (limited to 'bin/lock-helper.py')
-rwxr-xr-xbin/lock-helper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/lock-helper.py b/bin/lock-helper.py
index 5c332b2af..469d3a9da 100755
--- a/bin/lock-helper.py
+++ b/bin/lock-helper.py
@@ -2,7 +2,9 @@
# Copyright 2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+import os
import sys
+sys.path.insert(0, os.environ['PORTAGE_PYM_PATH'])
import portage
def main(args):