From 56d11b736c2702b77466d3b7bbb59516b9f90835 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 10 Dec 2011 15:39:16 -0800 Subject: lock-helper.py: disable_legacy_globals This prevents the portage.data module from accessing portage.settings. --- bin/lock-helper.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/lock-helper.py') 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): -- cgit v1.2.3-1-g7c22