From 5093ca75ea23a2ca3cef6143916878653e7ee68d Mon Sep 17 00:00:00 2001 From: Aaron Lichtman Date: Tue, 21 May 2024 03:19:43 -0700 Subject: [PATCH] Nicer backup_or_reinstall conditional printing --- shallow_backup/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shallow_backup/utils.py b/shallow_backup/utils.py index 8e8c7503..dc918812 100644 --- a/shallow_backup/utils.py +++ b/shallow_backup/utils.py @@ -73,11 +73,11 @@ def evaluate_condition( ) condition_success = run_cmd_return_bool(condition) if not condition_success: - print_blue(f"SKIPPING {backup_or_reinstall.lower()} based on <{condition}>") + print_blue(f"SKIPPING {backup_or_reinstall.lower()} b/c this is false: $ {condition}") return False else: print_blue( - f"NOT skipping {backup_or_reinstall.lower()} based on <{condition}>" + f"NOT skipping {backup_or_reinstall.lower()} b/c this is true: $ {condition}" ) return True else: