summaryrefslogtreecommitdiffstats
path: root/pym/portage/__init__.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-06-01 14:27:46 -0700
committerZac Medico <zmedico@gentoo.org>2012-06-01 14:27:46 -0700
commit1ecb54ad4392473130f6ffdab1ba6e7105031c76 (patch)
tree43421357c61c48dcabc9e4846bcad72b5485bc24 /pym/portage/__init__.py
parent033084fd96d2a92e4dbfd952bf8c68301e435437 (diff)
downloadportage-1ecb54ad4392473130f6ffdab1ba6e7105031c76.tar.gz
portage-1ecb54ad4392473130f6ffdab1ba6e7105031c76.tar.bz2
portage-1ecb54ad4392473130f6ffdab1ba6e7105031c76.zip
portageexit: skip secpass check
The portdbapi should handle secpass already internally, and access to secpass here can trigger unnecessary instantiation of a config instance via the portage.data module.
Diffstat (limited to 'pym/portage/__init__.py')
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index bf3fdadaf..ce28c09ea 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -482,7 +482,7 @@ auxdbkeys = (
auxdbkeylen=len(auxdbkeys)
def portageexit():
- if data.secpass > 1 and os.environ.get("SANDBOX_ON") != "1":
+ if os.environ.get("SANDBOX_ON") != "1":
close_portdbapi_caches()
class _trees_dict(dict):