From 9f782a2c115acbeac863eb1c0ac8ef5e84874d73 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 1 Jun 2012 14:43:41 -0700 Subject: portageexit: skip SANDBOX_ON check This check is redundant, since the portdbapi constructor already has special SANDBOX_ON / SANDBOX_WRITE handling. --- pym/portage/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pym/portage/__init__.py') 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',) -- cgit v1.2.3-1-g7c22