diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-06-01 14:27:46 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-06-01 14:27:46 -0700 |
commit | 1ecb54ad4392473130f6ffdab1ba6e7105031c76 (patch) | |
tree | 43421357c61c48dcabc9e4846bcad72b5485bc24 | |
parent | 033084fd96d2a92e4dbfd952bf8c68301e435437 (diff) | |
download | portage-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.
-rw-r--r-- | pym/portage/__init__.py | 2 |
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): |