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:44:07
Message-Id: 1338587021.9f782a2c115acbeac863eb1c0ac8ef5e84874d73.zmedico@gentoo
1 commit: 9f782a2c115acbeac863eb1c0ac8ef5e84874d73
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 1 21:43:41 2012 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 1 21:43:41 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=9f782a2c
7
8 portageexit: skip SANDBOX_ON check
9
10 This check is redundant, since the portdbapi constructor already has
11 special SANDBOX_ON / SANDBOX_WRITE handling.
12
13 ---
14 pym/portage/__init__.py | 3 +--
15 1 files changed, 1 insertions(+), 2 deletions(-)
16
17 diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
18 index ce28c09..56af9e4 100644
19 --- a/pym/portage/__init__.py
20 +++ b/pym/portage/__init__.py
21 @@ -482,8 +482,7 @@ auxdbkeys = (
22 auxdbkeylen=len(auxdbkeys)
23
24 def portageexit():
25 - if os.environ.get("SANDBOX_ON") != "1":
26 - close_portdbapi_caches()
27 + close_portdbapi_caches()
28
29 class _trees_dict(dict):
30 __slots__ = ('_running_eroot', '_target_eroot',)