From 1152162db49133b82401e0b73a08e9481fdf3f16 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Fri, 9 Oct 2026 09:08:24 +0000 Subject: [PATCH] Section 27: the cloud-key software alert carries no removable settings entry --- alerts.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/alerts.py b/alerts.py index 3a1cf67..379175b 100644 --- a/alerts.py +++ b/alerts.py @@ -377,7 +377,9 @@ def _software_alerts(record, cloud_names): settings link, and the removal point at the right entry (section 26.7). When that software is the name of a configured cloud key, it can never be removed from the settings, so the alert belongs to the checked key and asks for a - replacement of the hardware instead (section 27). + replacement of the hardware instead (section 27). That form carries no + ``software``: there is no settings entry to remove, so a software removal + must not be able to close it. """ if record.get("software_compatibility_status") != "PROBLEM": return [] @@ -395,7 +397,6 @@ def _software_alerts(record, cloud_names): _SOFTWARE_INCOMPATIBLE_KEY_MESSAGE, (REPLACE_HARDWARE,), key_check.get("key_id"), - software=software, )] return [_alert( "software_incompatible",