commit: bb6faf478f7e64d75224e55c3b81deb843dc9749 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri May 3 05:40:05 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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 (
