From: Zac Medico Date: Fri, 1 Jun 2012 21:27:46 +0000 (-0700) Subject: portageexit: skip secpass check X-Git-Tag: v2.2.0_alpha109~17 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1ecb54ad4392473130f6ffdab1ba6e7105031c76;p=portage.git 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. --- 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):