Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/
Date: Fri, 01 Jun 2012 21:28:55
Message-Id: 1338586066.1ecb54ad4392473130f6ffdab1ba6e7105031c76.zmedico@gentoo
1 commit: 1ecb54ad4392473130f6ffdab1ba6e7105031c76
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 1 21:27:46 2012 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 1 21:27:46 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=1ecb54ad
7
8 portageexit: skip secpass check
9
10 The portdbapi should handle secpass already internally, and access to
11 secpass here can trigger unnecessary instantiation of a config instance
12 via the portage.data module.
13
14 ---
15 pym/portage/__init__.py | 2 +-
16 1 files changed, 1 insertions(+), 1 deletions(-)
17
18 diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
19 index bf3fdad..ce28c09 100644
20 --- a/pym/portage/__init__.py
21 +++ b/pym/portage/__init__.py
22 @@ -482,7 +482,7 @@ auxdbkeys = (
23 auxdbkeylen=len(auxdbkeys)
24
25 def portageexit():
26 - if data.secpass > 1 and os.environ.get("SANDBOX_ON") != "1":
27 + if os.environ.get("SANDBOX_ON") != "1":
28 close_portdbapi_caches()
29
30 class _trees_dict(dict):