From: Zac Medico Date: Thu, 2 Sep 2010 17:19:05 +0000 (-0700) Subject: Hide the portageq list_preserved_libs command when _ENABLE_PRESERVE_LIBS X-Git-Tag: v2.2_rc74~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fe830f9d2f8f89d171acc2ddb263f44d7e7c5eb6;p=portage.git Hide the portageq list_preserved_libs command when _ENABLE_PRESERVE_LIBS is False. --- 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() \