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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A09FE158094 for ; Tue, 19 Jul 2022 21:39:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBEF4E08F2; Tue, 19 Jul 2022 21:39:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65AEAE08F2 for ; Tue, 19 Jul 2022 21:39:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 74C89340E37 for ; Tue, 19 Jul 2022 21:39:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C7987500 for ; Tue, 19 Jul 2022 21:39:38 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1658266775.12ebaf02dda97b5e088e661bd3dd5ccd0a10b6fa.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/ X-VCS-Repository: proj/portage X-VCS-Files: lib/portage/checksum.py X-VCS-Directories: lib/portage/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 12ebaf02dda97b5e088e661bd3dd5ccd0a10b6fa X-VCS-Branch: master Date: Tue, 19 Jul 2022 21:39:38 +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: 13a3c012-e431-4b74-9f79-b921246550ab X-Archives-Hash: c3dcea68973869f7a754ac6aef1102b8 commit: 12ebaf02dda97b5e088e661bd3dd5ccd0a10b6fa Author: Miezhiko gmail com> AuthorDate: Tue Jul 19 07:10:24 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jul 19 21:39:35 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=12ebaf02 checksum.py: discard can't be called on frozenset Closes: https://github.com/gentoo/portage/pull/860 Signed-off-by: Sam James gentoo.org> lib/portage/checksum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/portage/checksum.py b/lib/portage/checksum.py index b4644da04..03a963a3e 100644 --- a/lib/portage/checksum.py +++ b/lib/portage/checksum.py @@ -441,7 +441,7 @@ def _apply_hash_filter(digests, hash_filter): @type hash_filter: callable """ - verifiable_hash_types = frozenset(digests).intersection(hashfunc_keys) + verifiable_hash_types = set(digests).intersection(hashfunc_keys) modified = False if len(verifiable_hash_types) > 1: verifiable_hash_types.discard("size")