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 EAD8C1381F3 for ; Tue, 16 Jul 2013 16:36:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5E04E0A9D; Tue, 16 Jul 2013 16:36:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3DEA3E0A9C for ; Tue, 16 Jul 2013 16:36:33 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 49F2E33E95B for ; Tue, 16 Jul 2013 16:36:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 9A1E2E5464 for ; Tue, 16 Jul 2013 16:36:29 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1373927366.bf85b8297c1581384d9331d750e725a3ff8a650c.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/depres/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/depres/listeners.py X-VCS-Directories: roverlay/depres/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: bf85b8297c1581384d9331d750e725a3ff8a650c X-VCS-Branch: master Date: Tue, 16 Jul 2013 16:36:29 +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: 7751fb28-505f-493f-8752-6ed201370e04 X-Archives-Hash: b162587cbb86e20f93d018d2de90860e Message-ID: <20130716163629.fBW24pI7kV1N_L_Tp4ihyLgAcwwratihB_ox8zod35M@z> commit: bf85b8297c1581384d9331d750e725a3ff8a650c Author: André Erdmann mailerd de> AuthorDate: Mon Jul 15 22:29:26 2013 +0000 Commit: André Erdmann mailerd de> CommitDate: Mon Jul 15 22:29:26 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=bf85b829 roverlay/depres/listeners: sort unresolvable --- roverlay/depres/listeners.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roverlay/depres/listeners.py b/roverlay/depres/listeners.py index 3d5ceaf..91d4a0b 100644 --- a/roverlay/depres/listeners.py +++ b/roverlay/depres/listeners.py @@ -83,7 +83,9 @@ class SetFileListener ( DependencyResolverListener ): fh = open ( self._file, 'w' ) if sort_entries: - fh.write ( '\n'.join ( sorted ( self._buffer ) ) ) + fh.write ( '\n'.join ( + sorted ( self._buffer, key=lambda x: x.lower() ) ) + ) else: fh.write ( '\n'.join ( self._buffer ) )