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 F030B138E3F for ; Wed, 19 Feb 2014 03:14:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3594E0B87; Wed, 19 Feb 2014 03:14:44 +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 D5FCBE0B87 for ; Wed, 19 Feb 2014 03:14:43 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [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 0041233F918 for ; Wed, 19 Feb 2014 03:14:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id F2A56188CB for ; Wed, 19 Feb 2014 03:14:39 +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: <1392777132.b671399841845b2d9bb593b22a46852b48fb52bf.dol-sen@gentoo> Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/revdep_rebuild/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/revdep_rebuild/assign.py X-VCS-Directories: pym/gentoolkit/revdep_rebuild/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: b671399841845b2d9bb593b22a46852b48fb52bf X-VCS-Branch: gentoolkit Date: Wed, 19 Feb 2014 03:14:39 +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: 412170fc-5a61-4749-b2a3-28327db76a78 X-Archives-Hash: 4986bc7f3f5b494fa4c526a0070057ec commit: b671399841845b2d9bb593b22a46852b48fb52bf Author: Brian Dolbec gentoo org> AuthorDate: Wed Feb 19 02:32:12 2014 +0000 Commit: Brian Dolbec gmail com> CommitDate: Wed Feb 19 02:32:12 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=b6713998 revdep_rebuild.py/assign.py: Fix a bug in the slot assignment. --- pym/gentoolkit/revdep_rebuild/assign.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/revdep_rebuild/assign.py b/pym/gentoolkit/revdep_rebuild/assign.py index 22565e8..5e56716 100644 --- a/pym/gentoolkit/revdep_rebuild/assign.py +++ b/pym/gentoolkit/revdep_rebuild/assign.py @@ -75,7 +75,7 @@ def get_best_match(cpv, cp, logger): @rtype tuple: ([cpv,...], SLOT) """ - slot = portage.db[portage.root]["vartree"].dbapi.aux_get(cpv, ["SLOT"]) + slot = portage.db[portage.root]["vartree"].dbapi.aux_get(cpv, ["SLOT"])[0] logger.warn('\t' + yellow('Warning: ebuild "' + cpv + '" not found.')) logger.info('\tLooking for %s:%s' %(cp, slot)) try: