aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-05-03 06:40:05 +0100
committerSam James <sam@gentoo.org>2024-05-03 06:40:05 +0100
commitbb6faf478f7e64d75224e55c3b81deb843dc9749 (patch)
tree974d871efe737a951047371d1747b98a7303fa1a
parenteclean: dist: fix copyright headers (diff)
downloadgentoolkit-bb6faf478f7e64d75224e55c3b81deb843dc9749.tar.gz
gentoolkit-bb6faf478f7e64d75224e55c3b81deb843dc9749.tar.bz2
gentoolkit-bb6faf478f7e64d75224e55c3b81deb843dc9749.zip
eclean: dist: fix printing VCS clean items with --quiet
Bug: https://bugs.gentoo.org/928951 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--pym/gentoolkit/eclean/output.py7
1 files 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 (