projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ed7bf2
)
portageexit: skip SANDBOX_ON check
author
Zac Medico
<zmedico@gentoo.org>
Fri, 1 Jun 2012 21:43:41 +0000
(14:43 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 1 Jun 2012 21:43:41 +0000
(14:43 -0700)
This check is redundant, since the portdbapi constructor already has
special SANDBOX_ON / SANDBOX_WRITE handling.
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index ce28c09ea4a5c3aa5ac313e0d01abad09fe682a7..56af9e48f234d4afc1aa240058defeba177f72d9 100644
(file)
--- 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',)