summaryrefslogtreecommitdiffstats
path: root/bin/lock-helper.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-12-10 15:39:16 -0800
committerZac Medico <zmedico@gentoo.org>2011-12-10 15:39:16 -0800
commit56d11b736c2702b77466d3b7bbb59516b9f90835 (patch)
tree51159fd746506257f4fb9d350294ebc4e1cc952b /bin/lock-helper.py
parent98031d249cf328a397eac507a289743d2ce719f2 (diff)
downloadportage-56d11b736c2702b77466d3b7bbb59516b9f90835.tar.gz
portage-56d11b736c2702b77466d3b7bbb59516b9f90835.tar.bz2
portage-56d11b736c2702b77466d3b7bbb59516b9f90835.zip
lock-helper.py: disable_legacy_globals
This prevents the portage.data module from accessing portage.settings.
Diffstat (limited to 'bin/lock-helper.py')
-rwxr-xr-xbin/lock-helper.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/lock-helper.py b/bin/lock-helper.py
index 065ddcbc4..dfb887669 100755
--- a/bin/lock-helper.py
+++ b/bin/lock-helper.py
@@ -6,6 +6,7 @@ import os
import sys
sys.path.insert(0, os.environ['PORTAGE_PYM_PATH'])
import portage
+portage._disable_legacy_globals()
def main(args):