From b1ff977673d720aa173bc64daa49dfef957fb4ee Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 21 Oct 2010 18:32:08 -0700 Subject: lock-helper.py: use PORTAGE_PYM_PATH for safety --- bin/lock-helper.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/lock-helper.py') 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): -- cgit v1.2.3-1-g7c22