Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o, Matt Turner <mattst88@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH gentoolkit 2/2] imlate: Dynamically calculate column width in report
Date: Thu, 02 Jan 2020 20:41:39
Message-Id: c39d80bc-a3e8-d17c-9162-cdcbb3b8894c@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH gentoolkit 2/2] imlate: Dynamically calculate column width in report by Matt Turner
1 On 1/2/20 10:58 AM, Matt Turner wrote:
2 > Also print categories on the line with the package name for much simpler
3 > consumption by external tools.
4 >
5 > Signed-off-by: Matt Turner <mattst88@g.o>
6 > ---
7 > pym/gentoolkit/imlate/imlate.py | 20 +++++++++++++-------
8 > 1 file changed, 13 insertions(+), 7 deletions(-)
9
10 Looks good, but you can omit the .keys() calls since direct iteration
11 over a dictionary yields the keys.
12 --
13 Thanks,
14 Zac

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies