diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-04-23 07:56:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-04-23 07:56:29 +0000 |
commit | 3e976f897aa6a304f3b682c43cb85f51f8060a48 (patch) | |
tree | 5adff883d9a0fce6613f255107731aab8a50663f | |
parent | 7e6761ab64a7d8a72d479ce0fca7f5a48b77a511 (diff) | |
download | portage-3e976f897aa6a304f3b682c43cb85f51f8060a48.tar.gz portage-3e976f897aa6a304f3b682c43cb85f51f8060a48.tar.bz2 portage-3e976f897aa6a304f3b682c43cb85f51f8060a48.zip |
tighten up output in pretend mode
svn path=/main/trunk/; revision=3197
-rwxr-xr-x | bin/emerge | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/emerge b/bin/emerge index 3238ea6f5..bc91fcf1b 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1701,12 +1701,14 @@ class depgraph: myoldbest=blue("["+myoldbest+"]") if x[1]!="/": + if myoldbest: + myoldbest +=" " if "--columns" in myopts: if "--quiet" in myopts: myprint=addl+" "+indent+darkgreen(xs[0]) - myprint=myprint+darkblue(xs[1]+xs[2])+" " + myprint=myprint+darkblue(" "+xs[1]+xs[2])+" " myprint=myprint+myoldbest - myprint=myprint+darkgreen(" to "+x[1]) + myprint=myprint+darkgreen("to "+x[1]) else: myprint="["+x[0]+" "+addl+"] "+indent+darkgreen(xs[0]) if (newlp-nc_len(myprint)) > 0: @@ -1715,9 +1717,9 @@ class depgraph: if (oldlp-nc_len(myprint)) > 0: myprint=myprint+" "*(oldlp-nc_len(myprint)) myprint=myprint+myoldbest - myprint=myprint+darkgreen(" to "+x[1])+" "+verboseadd + myprint=myprint+darkgreen("to "+x[1])+" "+verboseadd else: - myprint="["+x[0]+" "+addl+"] "+darkgreen(x[2])+" "+myoldbest+" "+darkgreen("to "+x[1])+" "+verboseadd + myprint="["+x[0]+" "+addl+"] "+darkgreen(x[2])+" "+myoldbest+darkgreen("to "+x[1])+" "+verboseadd else: if "--columns" in myopts: if "--quiet" in myopts: |