mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-25 10:33:50 +02:00
Update terminal_helper.py
This commit is contained in:
parent
5fa6e0dbcb
commit
40c5aa4704
1 changed files with 3 additions and 2 deletions
|
@ -251,9 +251,10 @@ class TerminalHelper:
|
||||||
verify_message="** Some records were skipped, or some failed to update. **",
|
verify_message="** Some records were skipped, or some failed to update. **",
|
||||||
prompt_title="Do you wish to see the full list of failed, skipped and updated records?",
|
prompt_title="Do you wish to see the full list of failed, skipped and updated records?",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
non_zero_counts = {category: count for category, count in counts.items() if count > 0}
|
||||||
messages = []
|
messages = []
|
||||||
for category, count in counts.items():
|
for category, count in non_zero_counts.items():
|
||||||
match category:
|
match category:
|
||||||
case "added":
|
case "added":
|
||||||
label, values, debug_color = "Added", add, TerminalColors.OKBLUE
|
label, values, debug_color = "Added", add, TerminalColors.OKBLUE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue