aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-05-03 06:41:46 +0100
committerSam James <sam@gentoo.org>2024-05-03 06:41:46 +0100
commit7a5a2f540bc4776121d08d331b141d897eac92f6 (patch)
treeab55e868daf3973df703c0f17346a680018b7620
parenteclean: dist: fix printing VCS clean items with --quiet (diff)
downloadgentoolkit-7a5a2f540bc4776121d08d331b141d897eac92f6.tar.gz
gentoolkit-7a5a2f540bc4776121d08d331b141d897eac92f6.tar.bz2
gentoolkit-7a5a2f540bc4776121d08d331b141d897eac92f6.zip
eclean: dist: fix crash with excluded items
Bug: https://bugs.gentoo.org/915055 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--pym/gentoolkit/eclean/cli.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/gentoolkit/eclean/cli.py b/pym/gentoolkit/eclean/cli.py
index 52ddf2a..94f87f4 100644
--- a/pym/gentoolkit/eclean/cli.py
+++ b/pym/gentoolkit/eclean/cli.py
@@ -623,6 +623,7 @@ def doAction(action, options, exclude={}, output=None):
elif not options["quiet"]:
output.einfo("Your " + action + " directory was already clean.")
if saved and not options["quiet"]:
+ verb = "would be"
print()
print(
pp.emph(" The following ")