From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-407445-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RZWVx-0007rR-7E
	for garchives@archives.gentoo.org; Sat, 10 Dec 2011 23:39:33 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C479721C063;
	Sat, 10 Dec 2011 23:39:25 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 8F11021C063
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Dec 2011 23:39:25 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id E35331B400C
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Dec 2011 23:39:24 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id 1E38C80042
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Dec 2011 23:39:24 +0000 (UTC)
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" <zmedico@gentoo.org>
Message-ID: <56d11b736c2702b77466d3b7bbb59516b9f90835.zmedico@gentoo>
Subject: [gentoo-commits] proj/portage:master commit in: bin/
X-VCS-Repository: proj/portage
X-VCS-Files: bin/lock-helper.py
X-VCS-Directories: bin/
X-VCS-Committer: zmedico
X-VCS-Committer-Name: Zac Medico
X-VCS-Revision: 56d11b736c2702b77466d3b7bbb59516b9f90835
Date: Sat, 10 Dec 2011 23:39:24 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 884d12d1-f2a2-4f41-91b9-f71e17a70c44
X-Archives-Hash: 40b59534ea889408fb13523b09059f40

commit:     56d11b736c2702b77466d3b7bbb59516b9f90835
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 10 23:39:16 2011 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 23:39:16 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a=
=3Dcommit;h=3D56d11b73

lock-helper.py: disable_legacy_globals

This prevents the portage.data module from accessing portage.settings.

---
 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 065ddcb..dfb8876 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()
=20
 def main(args):
=20