projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
033084f
)
portageexit: skip secpass check
author
Zac Medico
<zmedico@gentoo.org>
Fri, 1 Jun 2012 21:27:46 +0000
(14:27 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 1 Jun 2012 21:27:46 +0000
(14:27 -0700)
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.
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index bf3fdadaf3314aaf3304a703e64a1027bb92a09b..ce28c09ea4a5c3aa5ac313e0d01abad09fe682a7 100644
(file)
--- 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):