projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fe75ba
)
Silently omit info_pkgs that aren't installed. Thanks to solar.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 3 Nov 2006 21:14:40 +0000
(21:14 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 3 Nov 2006 21:14:40 +0000
(21:14 -0000)
svn path=/main/trunk/; revision=4918
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index 07c54e282997a337c9f115d47487d51b87ba53d5..620b456235cf94eda2c2af4fd1d23ef36fd3d05d 100755
(executable)
--- a/
bin/emerge
+++ b/
bin/emerge
@@
-3592,11
+3592,9
@@
def action_info(settings, trees, myopts, myfiles):
pkgs += [mycpv[2] + "-" + mycpv[3]]
else:
pkgs += [mycpv[2]]
- if not pkgs:
- pkgs = "[Not Present]"
- else:
+ if pkgs:
pkgs = ", ".join(sorted_versions(pkgs))
- print "%-20s %s" % (x+":", pkgs)
+
print "%-20s %s" % (x+":", pkgs)
else:
print "%-20s %s" % (x+":", "[NOT VALID]")