diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-16 02:52:11 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-16 02:52:11 -0700 |
commit | d04da8d262673d45ff6f92d77d151d0fc871df57 (patch) | |
tree | ea48e8a79b0161bb7cbab5107eb5f7e76ef9bc6d | |
parent | 0b2c8ebafc5ec71e93620048a0627b9d7ed41c11 (diff) | |
download | portage-d04da8d262673d45ff6f92d77d151d0fc871df57.tar.gz portage-d04da8d262673d45ff6f92d77d151d0fc871df57.tar.bz2 portage-d04da8d262673d45ff6f92d77d151d0fc871df57.zip |
When displaying portage.auxdbkeys, sort and filter unused.
-rwxr-xr-x | bin/portageq | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/portageq b/bin/portageq index 77c102ed4..e27ce4829 100755 --- a/bin/portageq +++ b/bin/portageq @@ -176,7 +176,8 @@ metadata.__doc__ = """ <root> <pkgtype> <category/package> [<key>]+ Returns metadata values for the specified package. Available keys: %s -""" % ','.join(portage.auxdbkeys) +""" % ','.join(sorted(x for x in portage.auxdbkeys \ +if not x.startswith('UNUSED_'))) metadata.uses_root = True |