Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/enalyze/
Date: Thu, 25 Feb 2016 21:26:56
Message-Id: 1456435495.b9de1f7b39a1ce43f22018e4a1c03bef6677360c.dolsen@gentoo
1 commit: b9de1f7b39a1ce43f22018e4a1c03bef6677360c
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 25 21:23:33 2016 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 25 21:24:55 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=b9de1f7b
7
8 enalyze/analyze.py: Sort the flags for the analyze packages output
9
10 Feature request from: Fernando Reyes
11
12 pym/gentoolkit/enalyze/analyze.py | 5 +++--
13 1 file changed, 3 insertions(+), 2 deletions(-)
14
15 diff --git a/pym/gentoolkit/enalyze/analyze.py b/pym/gentoolkit/enalyze/analyze.py
16 index 2d9c85e..ce83ba6 100644
17 --- a/pym/gentoolkit/enalyze/analyze.py
18 +++ b/pym/gentoolkit/enalyze/analyze.py
19 @@ -429,9 +429,10 @@ class Analyse(ModuleBase):
20 for cpv in cpvs:
21 (flag_plus, flag_neg, unset) = flags.analyse_cpv(cpv)
22 if self.options["unset"]:
23 - self.printer(cpv, "", (flag_plus, flag_neg, unset))
24 + self.printer(cpv, "", (sorted(flag_plus), sorted(flag_neg),
25 + sorted(unset)))
26 else:
27 - self.printer(cpv, "", (flag_plus, flag_neg, []))
28 + self.printer(cpv, "", (sorted(flag_plus), sorted(flag_neg), []))
29 if not self.options['quiet']:
30 print("===================================================")
31 print("Total number of installed ebuilds =",