From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5D1A41382C5 for ; Fri, 18 Jun 2021 15:53:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6DEE7E0830; Fri, 18 Jun 2021 15:53:10 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53EC6E0830 for ; Fri, 18 Jun 2021 15:53:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 91FBE340961 for ; Fri, 18 Jun 2021 15:53:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F7917A1 for ; Fri, 18 Jun 2021 15:53:07 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1624031518.693f6bf5a54e2424e2ad49e1838b61f76bf78e40.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/_sets/ X-VCS-Repository: proj/portage X-VCS-Files: lib/portage/_sets/dbapi.py X-VCS-Directories: lib/portage/_sets/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 693f6bf5a54e2424e2ad49e1838b61f76bf78e40 X-VCS-Branch: master Date: Fri, 18 Jun 2021 15:53: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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 773ab5db-881d-4bf3-8be4-c8c9f8f97849 X-Archives-Hash: f71abcfef5dbcb0eb4566a9d2c81fbd0 commit: 693f6bf5a54e2424e2ad49e1838b61f76bf78e40 Author: Zac Medico gentoo org> AuthorDate: Fri Jun 18 15:50:43 2021 +0000 Commit: Zac Medico gentoo org> CommitDate: Fri Jun 18 15:51:58 2021 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=693f6bf5 OwnerSet: fix inverted exclude_paths condition Bug: https://bugs.gentoo.org/796584 Fixes: 38d3ff6abba5 ("OwnerSet: handle missing or empty exclude-files parameter (bug 796584)") Signed-off-by: Zac Medico gentoo.org> lib/portage/_sets/dbapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/portage/_sets/dbapi.py b/lib/portage/_sets/dbapi.py index 60b26d17c..8e1f19979 100644 --- a/lib/portage/_sets/dbapi.py +++ b/lib/portage/_sets/dbapi.py @@ -86,7 +86,7 @@ class OwnerSet(PackageSet): exclude_paths = expanded_exclude_paths pkg_str = vardb._pkg_str - if exclude_paths: + if not exclude_paths: for link, p in vardb._owners.iter_owners(paths): pkg = pkg_str(link.mycpv, None) rValue.add("%s:%s" % (pkg.cp, pkg.slot))