diff options
author | 2024-05-03 06:40:05 +0100 | |
---|---|---|
committer | 2024-05-03 06:40:05 +0100 | |
commit | bb6faf478f7e64d75224e55c3b81deb843dc9749 (patch) | |
tree | 974d871efe737a951047371d1747b98a7303fa1a | |
parent | eclean: dist: fix copyright headers (diff) | |
download | gentoolkit-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.py | 7 |
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 ( |