projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53e2416
)
Hide the portageq list_preserved_libs command when _ENABLE_PRESERVE_LIBS
author
Zac Medico
<zmedico@gentoo.org>
Thu, 2 Sep 2010 17:19:05 +0000
(10:19 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 2 Sep 2010 17:19:05 +0000
(10:19 -0700)
is False.
bin/portageq
patch
|
blob
|
history
diff --git
a/bin/portageq
b/bin/portageq
index 2a7807c1599cc7444b09106baf658db92bbad8db..940575b1fee90f7e21b5e157657fb6e8d64cd9df 100755
(executable)
--- a/
bin/portageq
+++ b/
bin/portageq
@@
-575,6
+575,9
@@
list_preserved_libs.uses_root = True
# DO NOT CHANGE CODE BEYOND THIS POINT - IT'S NOT NEEDED!
#
+if not portage.const._ENABLE_PRESERVE_LIBS:
+ del list_preserved_libs
+
non_commands = frozenset(['eval_atom_use', 'exithandler', 'main',
'usage', 'writemsg', 'writemsg_stdout'])
commands = sorted(k for k, v in globals().items() \