diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2016-02-25 13:23:33 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2016-02-25 13:24:55 -0800 |
commit | b9de1f7b39a1ce43f22018e4a1c03bef6677360c (patch) | |
tree | 183fe133e0acaded34e373c91ac18c9e5d2d3b76 | |
parent | revdep-rebuild/analyse.py: Add file masks to the collecting masks (diff) | |
download | gentoolkit-b9de1f7b.tar.gz gentoolkit-b9de1f7b.tar.bz2 gentoolkit-b9de1f7b.zip |
enalyze/analyze.py: Sort the flags for the analyze packages output
Feature request from: Fernando Reyes
-rw-r--r-- | pym/gentoolkit/enalyze/analyze.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pym/gentoolkit/enalyze/analyze.py b/pym/gentoolkit/enalyze/analyze.py index 2d9c85e..ce83ba6 100644 --- a/pym/gentoolkit/enalyze/analyze.py +++ b/pym/gentoolkit/enalyze/analyze.py @@ -429,9 +429,10 @@ class Analyse(ModuleBase): for cpv in cpvs: (flag_plus, flag_neg, unset) = flags.analyse_cpv(cpv) if self.options["unset"]: - self.printer(cpv, "", (flag_plus, flag_neg, unset)) + self.printer(cpv, "", (sorted(flag_plus), sorted(flag_neg), + sorted(unset))) else: - self.printer(cpv, "", (flag_plus, flag_neg, [])) + self.printer(cpv, "", (sorted(flag_plus), sorted(flag_neg), [])) if not self.options['quiet']: print("===================================================") print("Total number of installed ebuilds =", |