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 1FC23158064 for ; Fri, 3 May 2024 05:40:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CFEB2E2A44; Fri, 3 May 2024 05:40:36 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AF6DBE2A44 for ; Fri, 3 May 2024 05:40:36 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A2F95343062 for ; Fri, 3 May 2024 05:40:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F051819D9 for ; Fri, 3 May 2024 05:40:33 +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: <1714714805.bb6faf478f7e64d75224e55c3b81deb843dc9749.sam@gentoo> Subject: [gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/eclean/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/eclean/output.py X-VCS-Directories: pym/gentoolkit/eclean/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bb6faf478f7e64d75224e55c3b81deb843dc9749 X-VCS-Branch: master Date: Fri, 3 May 2024 05:40:33 +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: 24889703-aa84-48e6-8df9-2f890dde73a2 X-Archives-Hash: 08794127b7fe59edc5309372bdc31948 commit: bb6faf478f7e64d75224e55c3b81deb843dc9749 Author: Sam James gentoo org> AuthorDate: Fri May 3 05:40:05 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 3 05:40:05 2024 +0000 URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=bb6faf47 eclean: dist: fix printing VCS clean items with --quiet Bug: https://bugs.gentoo.org/928951 Signed-off-by: Sam James gentoo.org> pym/gentoolkit/eclean/output.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pym/gentoolkit/eclean/output.py b/pym/gentoolkit/eclean/output.py index 75f7b02..04fb493 100644 --- a/pym/gentoolkit/eclean/output.py +++ b/pym/gentoolkit/eclean/output.py @@ -138,8 +138,11 @@ class OutputControl: print(self.prettySize(size, True), self.pkg_color(key)) elif self.options["pretend"] or self.options["interactive"]: # file list mode - for file_ in clean_list: - print(file_) + if file_type == "checkout": + print(clean_list) + else: + for file_ in clean_list: + print(file_) if self.options["pretend"]: return False elif (