diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-12-10 15:39:16 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-12-10 15:39:16 -0800 |
commit | 56d11b736c2702b77466d3b7bbb59516b9f90835 (patch) | |
tree | 51159fd746506257f4fb9d350294ebc4e1cc952b | |
parent | 98031d249cf328a397eac507a289743d2ce719f2 (diff) | |
download | portage-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.
-rwxr-xr-x | bin/lock-helper.py | 1 |
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): |