From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AB1A21381FA for ; Fri, 16 May 2014 01:07:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69D78E0AB6; Fri, 16 May 2014 01:07:11 +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 D147CE0AB6 for ; Fri, 16 May 2014 01:07:10 +0000 (UTC) Received: from spoonbill.gentoo.org (unknown [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F34B834006D for ; Fri, 16 May 2014 01:07:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 7C41D182DA for ; Fri, 16 May 2014 01:07:07 +0000 (UTC) From: "Devan Franchini" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Devan Franchini" Message-ID: <1400202406.c7a27f6eb028ef5aedfa3145f9db921ff47d0f50.twitch153@gentoo> Subject: [gentoo-commits] proj/layman:gsoc2014 commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/dbbase.py X-VCS-Directories: layman/ X-VCS-Committer: twitch153 X-VCS-Committer-Name: Devan Franchini X-VCS-Revision: c7a27f6eb028ef5aedfa3145f9db921ff47d0f50 X-VCS-Branch: gsoc2014 Date: Fri, 16 May 2014 01:07:07 +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: 9c96736f-f26d-4ebe-b6e9-3f0493cfd19e X-Archives-Hash: 0fb79022f99c4f1657a9e681db3e6e6c commit: c7a27f6eb028ef5aedfa3145f9db921ff47d0f50 Author: Devan Franchini gentoo org> AuthorDate: Wed May 14 23:52:23 2014 +0000 Commit: Devan Franchini gentoo org> CommitDate: Fri May 16 01:06:46 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=c7a27f6e dbbase.py: Fixes implicit tuple unpacking A temporary variable is assigned to fix the lack of implicit tuple unpacking in py3. --- layman/dbbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layman/dbbase.py b/layman/dbbase.py index 3632a57..1cbf0bb 100644 --- a/layman/dbbase.py +++ b/layman/dbbase.py @@ -312,7 +312,7 @@ class DbBase(object): result.append((overlay.short_list(width), overlay.is_supported(), overlay.is_official())) - result = sorted(result, key=lambda (summary, supported, official): summary.lower()) + result = sorted(result, key=lambda summary_supported_official: summary_supported_official[0].lower()) return result