1 |
commit: 45e9d6db3e1af8303ba724e3b857b3e461f705fc |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Gentoo <DOT> Org> |
3 |
AuthorDate: Sat Jan 28 02:20:25 2012 +0000 |
4 |
Commit: Arfrever Frehtes Taifersar Arahesis <arfrever <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 28 02:20:25 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=45e9d6db |
7 |
|
8 |
Use consistent indentation in output of `emerge -p --columns ${package}` |
9 |
regardless of ROOT. |
10 |
|
11 |
--- |
12 |
pym/_emerge/resolver/output.py | 4 ++-- |
13 |
1 files changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/pym/_emerge/resolver/output.py b/pym/_emerge/resolver/output.py |
16 |
index d1c1658..ef000d6 100644 |
17 |
--- a/pym/_emerge/resolver/output.py |
18 |
+++ b/pym/_emerge/resolver/output.py |
19 |
@@ -437,7 +437,7 @@ class Display(object): |
20 |
self.indent, self.pkgprint(pkg.cp, pkg_info)) |
21 |
if (self.newlp-nc_len(myprint)) > 0: |
22 |
myprint = myprint+(" "*(self.newlp-nc_len(myprint))) |
23 |
- myprint = myprint+"["+darkblue(ver_str)+"] " |
24 |
+ myprint = myprint+" "+darkblue("["+ver_str+"]")+" " |
25 |
if (self.oldlp-nc_len(myprint)) > 0: |
26 |
myprint = myprint+" "*(self.oldlp-nc_len(myprint)) |
27 |
myprint = myprint+pkg_info.oldbest |
28 |
@@ -476,7 +476,7 @@ class Display(object): |
29 |
self.indent, self.pkgprint(pkg.cp, pkg_info)) |
30 |
if (self.newlp-nc_len(myprint)) > 0: |
31 |
myprint = myprint+(" "*(self.newlp-nc_len(myprint))) |
32 |
- myprint = myprint+green(" ["+ver_str+"] ") |
33 |
+ myprint = myprint+" "+green("["+ver_str+"]")+" " |
34 |
if (self.oldlp-nc_len(myprint)) > 0: |
35 |
myprint = myprint+(" "*(self.oldlp-nc_len(myprint))) |
36 |
myprint += pkg_info.oldbest |