From c597d9bcf6199301f946b04e1972d9ca64062a64 Mon Sep 17 00:00:00 2001 From: razorloves Date: Mon, 13 Jul 2026 20:47:58 -0500 Subject: [PATCH] Make more obvious that codename is requested --- label.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/label.py b/label.py index b192657..a0bc48e 100755 --- a/label.py +++ b/label.py @@ -125,14 +125,14 @@ def issue_errors(issue: IssueBody) -> list: names = device_names() names.sort(key=lambda x: (x[0].lower(), x[1].lower(), x[2].lower())) - text = f'Device "{issue.device}" is not a valid device codename. Supported values are listed below:\n' + text = f'"{issue.device}" is not a valid device codename. Supported values are listed below, in the **codename** column:\n' text += '
' text += ' Devices\n\n' - text += ' | Vendor | Model | Codename |\n' + text += ' | Vendor | Model | **Codename** |\n' text += ' |--------|-------|----------|\n' for vendor, model, codename in names: if codename in devices: - text += f' | {vendor} | {model} | {codename} |\n' + text += f' | {vendor} | {model} | **{codename}** |\n' text += '
' ret.append(text)