projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f826f4
)
Use better parseable format for list_preserved_libs
author
Marius Mauch
<genone@gentoo.org>
Fri, 29 Jun 2007 08:04:24 +0000
(08:04 -0000)
committer
Marius Mauch
<genone@gentoo.org>
Fri, 29 Jun 2007 08:04:24 +0000
(08:04 -0000)
svn path=/main/trunk/; revision=7088
bin/portageq
patch
|
blob
|
history
diff --git
a/bin/portageq
b/bin/portageq
index 11ac316eb42e49b8e4e987f2f04dcc30550b28a8..99bf49bc282b76380a5a505904884d55c88178fb 100755
(executable)
--- 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
#-----------------------------------------------------------------------------
#