diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-02 10:19:05 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-02 10:19:05 -0700 |
commit | fe830f9d2f8f89d171acc2ddb263f44d7e7c5eb6 (patch) | |
tree | 92b24437841a987288ed275243e47a37737b1497 | |
parent | 53e2416ae4cecd0350e315f64694667dfbf59836 (diff) | |
download | portage-fe830f9d2f8f89d171acc2ddb263f44d7e7c5eb6.tar.gz portage-fe830f9d2f8f89d171acc2ddb263f44d7e7c5eb6.tar.bz2 portage-fe830f9d2f8f89d171acc2ddb263f44d7e7c5eb6.zip |
Hide the portageq list_preserved_libs command when _ENABLE_PRESERVE_LIBS
is False.
-rwxr-xr-x | bin/portageq | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/portageq b/bin/portageq index 2a7807c15..940575b1f 100755 --- 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() \ |