Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-portage-dev] [PATCH 5/6] eshowkw: Group stable and dev arches together (to match Bugzilla)
Date: Tue, 23 Jan 2018 12:47:54
Message-Id: 20180123124715.3456-6-mgorny@gentoo.org
In Reply to: [gentoo-portage-dev] [gentoolkit] eshowkw: Improve & reorder keywords for my Bugzie proposal by "Michał Górny"
1 Since dev profile status implies working towards stable status, and we
2 are currently working on improving the status of dev arches
3 (in particular preventing new depgraph breakages from being committed),
4 we have switched Bugzilla to display both statuses alongside. Update
5 eshowkw to use the same output ordering.
6 ---
7 pym/gentoolkit/eshowkw/keywords_header.py | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/pym/gentoolkit/eshowkw/keywords_header.py b/pym/gentoolkit/eshowkw/keywords_header.py
11 index 1ce804a..f7a8340 100644
12 --- a/pym/gentoolkit/eshowkw/keywords_header.py
13 +++ b/pym/gentoolkit/eshowkw/keywords_header.py
14 @@ -120,7 +120,7 @@ class keywords_header:
15 longer = [k for k in keywords if self.__isPrefix(k)]
16 normal.extend(longer)
17
18 - lists = self.__IMPARCHS, self.__DEV_ARCHS, self.__EXP_ARCHS
19 + lists = (self.__IMPARCHS + self.__DEV_ARCHS), self.__EXP_ARCHS
20 levels = {}
21 for kw in normal:
22 for level, ls in enumerate(lists):
23 --
24 2.16.1