From: Marius Mauch Date: Fri, 29 Jun 2007 08:04:24 +0000 (-0000) Subject: Use better parseable format for list_preserved_libs X-Git-Tag: v2.2_pre1~1119 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=97bcd87be54576841bf6c1406410eb008866f957;p=portage.git Use better parseable format for list_preserved_libs svn path=/main/trunk/; revision=7088 --- diff --git a/bin/portageq b/bin/portageq index 11ac316eb..99bf49bc2 100755 --- a/bin/portageq +++ b/bin/portageq @@ -306,10 +306,13 @@ def list_preserved_libs(argv): mylibs = portage.db[argv[0]]["vartree"].dbapi.plib_registry.getPreservedLibs() rValue = 0 for cpv in mylibs: + print cpv, for path in mylibs[cpv]: - print "%s: %s" % (cpv, path) + print path, rValue = 1 + print return rValue +list_preserved_libs.uses_root = True #----------------------------------------------------------------------------- #