From 07299a68e95f4081a2af17a644b36d889384ccfc Mon Sep 17 00:00:00 2001 From: David Brownell Date: Thu, 25 Apr 2024 08:12:46 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20[-bug]=20Fixed=20incorrect=20war?= =?UTF-8?q?ning=20display=20in=20ExecuteTasks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dbrownell_Common/ExecuteTasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dbrownell_Common/ExecuteTasks.py b/src/dbrownell_Common/ExecuteTasks.py index 01bbe16..b13df37 100644 --- a/src/dbrownell_Common/ExecuteTasks.py +++ b/src/dbrownell_Common/ExecuteTasks.py @@ -945,7 +945,7 @@ def OnTaskComplete( for color_on, count, suffix in [ (success_on, success_count, "succeeded"), (error_on, error_count, "failed"), - (warning_on, warning_count, inflect.no("warning", warning_count)), + (warning_on, warning_count, inflect.plural_verb("warning", warning_count)), ]: if count == 0: content = "0"