From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4861C1388C0 for ; Thu, 25 Feb 2016 21:26:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 640EEE05C1; Thu, 25 Feb 2016 21:26:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0C80EE07C2 for ; Thu, 25 Feb 2016 21:26:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B24E1340CDF for ; Thu, 25 Feb 2016 21:26:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EEAC418A5 for ; Thu, 25 Feb 2016 21:26:47 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1456435495.b9de1f7b39a1ce43f22018e4a1c03bef6677360c.dolsen@gentoo> Subject: [gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/enalyze/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/enalyze/analyze.py X-VCS-Directories: pym/gentoolkit/enalyze/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: b9de1f7b39a1ce43f22018e4a1c03bef6677360c X-VCS-Branch: master Date: Thu, 25 Feb 2016 21:26:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 14a9e27b-ba55-416b-9ea9-f2f58c8331f8 X-Archives-Hash: f5bd4fd2692a6ce3fa4f84e652a02a14 commit: b9de1f7b39a1ce43f22018e4a1c03bef6677360c Author: Brian Dolbec gentoo org> AuthorDate: Thu Feb 25 21:23:33 2016 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Thu Feb 25 21:24:55 2016 +0000 URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=b9de1f7b enalyze/analyze.py: Sort the flags for the analyze packages output Feature request from: Fernando Reyes pym/gentoolkit/enalyze/analyze.py | 5 +++-- 1 file 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 =",