From 6f0daa80f27febb62f919b0db8d1cd436a4b772b Mon Sep 17 00:00:00 2001 From: kaiobendrauf <38166195+kaiobendrauf@users.noreply.github.com> Date: Thu, 16 May 2024 23:11:16 +0200 Subject: [PATCH] clearer logging (i hope) --- nudge-auto-updater.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nudge-auto-updater.py b/nudge-auto-updater.py index 938b8fb..523fb73 100755 --- a/nudge-auto-updater.py +++ b/nudge-auto-updater.py @@ -643,9 +643,9 @@ def main(): urgency_condition_met = True break if not urgency_condition_met: - logging.info("No CVE urgency condition met.") + logging.info(f"No CVE urgency level met. Installation will be required in {days} day(s).") days = config["default_deadline_days"] - description = f"No CVE urgency condition met. Installation will be required in {days} day(s)." + description = f"No CVE urgency level met. Installation will be required in {days} day(s)." # update target if auto or user_confirm(days, target['target'], new_macos_release, nudge_requirements[target['target']]['version']): nudge_file_dict = update_nudge_file_dict(nudge_file_dict, target["target"], new_macos_release, urls[str(new_macos_release)], days)