diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-10-21 18:32:08 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-10-21 18:32:08 -0700 |
commit | b1ff977673d720aa173bc64daa49dfef957fb4ee (patch) | |
tree | fbc640b835eea1f947e3e856c1e5380cff7776e7 /bin | |
parent | 72298bcb48e432011d56143525adb642bd18f1d4 (diff) | |
download | portage-b1ff977673d720aa173bc64daa49dfef957fb4ee.tar.gz portage-b1ff977673d720aa173bc64daa49dfef957fb4ee.tar.bz2 portage-b1ff977673d720aa173bc64daa49dfef957fb4ee.zip |
lock-helper.py: use PORTAGE_PYM_PATH for safety
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/lock-helper.py | 2 |
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): |