From 4f147b4091065e7aa347a3fa6ce91dbdecd5f182 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 13 Dec 2006 22:13:14 +0000 Subject: [PATCH] handle --cols when displaying blockers svn path=/main/trunk/; revision=5286 --- bin/emerge | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- 2.26.2