From fe830f9d2f8f89d171acc2ddb263f44d7e7c5eb6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 2 Sep 2010 10:19:05 -0700 Subject: [PATCH] Hide the portageq list_preserved_libs command when _ENABLE_PRESERVE_LIBS is False. --- bin/portageq | 3 +++ 1 file changed, 3 insertions(+) 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() \ -- 2.26.2