From: Zac Medico Date: Fri, 1 Jun 2012 21:43:41 +0000 (-0700) Subject: portageexit: skip SANDBOX_ON check X-Git-Tag: v2.2.0_alpha109~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9f782a2c115acbeac863eb1c0ac8ef5e84874d73;p=portage.git portageexit: skip SANDBOX_ON check This check is redundant, since the portdbapi constructor already has special SANDBOX_ON / SANDBOX_WRITE handling. --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index ce28c09ea..56af9e48f 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -482,8 +482,7 @@ auxdbkeys = ( auxdbkeylen=len(auxdbkeys) def portageexit(): - if os.environ.get("SANDBOX_ON") != "1": - close_portdbapi_caches() + close_portdbapi_caches() class _trees_dict(dict): __slots__ = ('_running_eroot', '_target_eroot',)