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 E095A158091 for ; Tue, 7 Jun 2022 23:48:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1AF70E0867; Tue, 7 Jun 2022 23:48:50 +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 F21ECE0867 for ; Tue, 7 Jun 2022 23:48:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 1B075335D68 for ; Tue, 7 Jun 2022 23:48:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0DFB4FB for ; Tue, 7 Jun 2022 23:48:15 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1654645675.7fa4fe1b2fddff06b15156c915e7ed6bb29a469e.floppym@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: lib/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: lib/_emerge/actions.py X-VCS-Directories: lib/_emerge/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 7fa4fe1b2fddff06b15156c915e7ed6bb29a469e X-VCS-Branch: master Date: Tue, 7 Jun 2022 23:48:15 +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: 7d451f73-ae83-4d1e-ab8f-45aea3c6a96a X-Archives-Hash: 197b204672eac95ed2c0873f31ffcec4 commit: 7fa4fe1b2fddff06b15156c915e7ed6bb29a469e Author: David Palao gmail com> AuthorDate: Tue May 31 15:44:54 2022 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Tue Jun 7 23:47:55 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=7fa4fe1b improvement(actions): using new MtimeDB's API to make it read only Signed-off-by: David Palao gmail.com> Signed-off-by: Mike Gilbert gentoo.org> lib/_emerge/actions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/_emerge/actions.py b/lib/_emerge/actions.py index e697459c8..0bf2d88b1 100644 --- a/lib/_emerge/actions.py +++ b/lib/_emerge/actions.py @@ -263,8 +263,7 @@ def action_build( mergelist_shown = False if pretend or fetchonly: - # make the mtimedb readonly - mtimedb.filename = None + mtimedb.make_readonly() if "--digest" in myopts or "digest" in settings.features: if "--digest" in myopts: msg = "The --digest option"