From: Mike Frysinger Date: Wed, 13 Dec 2006 22:13:14 +0000 (-0000) Subject: handle --cols when displaying blockers X-Git-Tag: v2.1.2~305 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4f147b4091065e7aa347a3fa6ce91dbdecd5f182;p=portage.git handle --cols when displaying blockers svn path=/main/trunk/; revision=5286 --- diff --git a/bin/emerge b/bin/emerge index f820a3491..1b3aca4b3 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2009,7 +2009,10 @@ class depgraph: counters.blocks += 1 resolved = portage.key_expand( pkg_key, mydb=vardb, settings=pkgsettings) - print "["+x[0]+" "+addl+"]",red(resolved), + if ("--columns" in self.myopts): + print addl,red(resolved), + else: + print "["+x[0]+" "+addl+"]",red(resolved), block_parents = self.blocker_parents[tuple(x)] block_parents = set([pnode[2] for pnode in block_parents]) block_parents = ", ".join(block_parents)