From bb6faf478f7e64d75224e55c3b81deb843dc9749 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 3 May 2024 06:40:05 +0100 Subject: eclean: dist: fix printing VCS clean items with --quiet Bug: https://bugs.gentoo.org/928951 Signed-off-by: Sam James --- 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 ( -- cgit v1.2.3-65-gdbad