From nobody Mon Sep 8 17:06:07 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1752771864526578.4913499733777; Thu, 17 Jul 2025 10:04:24 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 740F4144A; Thu, 17 Jul 2025 13:04:23 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 0B896147C; Thu, 17 Jul 2025 13:04:07 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 8F7B1D3A; Thu, 17 Jul 2025 12:24:56 -0400 (EDT) Received: from mail-gw02.astralinux.ru (mail-gw02.astralinux.ru [93.188.205.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 3965B13EF for ; Thu, 17 Jul 2025 12:24:55 -0400 (EDT) Received: from gca-msk-a-srv-ksmg01.astralinux.ru (localhost [127.0.0.1]) by mail-gw02.astralinux.ru (Postfix) with ESMTP id 9EF261FA08 for ; Thu, 17 Jul 2025 19:24:48 +0300 (MSK) Received: from new-mail.astralinux.ru (unknown [10.177.185.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail-gw02.astralinux.ru (Postfix) with ESMTPS for ; Thu, 17 Jul 2025 19:24:48 +0300 (MSK) Received: from rbta-spb-lt-115149.astralinux.ru (rbta-msk-lt-190075.astralinux.ru [10.198.59.84]) by new-mail.astralinux.ru (Postfix) with ESMTPA id 4bjdYW53NmztQTS; Thu, 17 Jul 2025 19:24:47 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED, SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=astralinux.ru; s=mail; t=1752769488; bh=dUKdQg1MwcLgwIQghc1jKVZrYh/+sZvcCgqS6ehzw18=; h=From:To:Cc:Subject:Date:From; b=pYC9PQqemou6CErnZhSvAm/l6o1xWIn4DQqasml75FI+zid7frvR++qVr0zkrEjms qSyql5X6MRAEZ//KsjWMxB9aWAZwGTJqvIpHf3xIT+5+t9QTDyEw0gfJfwQoY8VFcL 6uHkw7WtnviZyZcoyAQ2KpBBLEk/ItQIMixFGDiolOvtR1mR5+DrOZlahHg3Rtjn0P RW7/R7KN0ByVdzyLJ/VxIFiB07LQx3hvRdtftjcvqzdcHvR+NEgdcvRUb58W/QO6Nb 5a/MbH7SkJs4wcKySB8jyOPuneehAQ7lxyG58Phlg54ChhqdIyRYR+0RyPVpv33ECK Krf1N/yL6NL1Q== From: Elizaveta Tereshkina To: devel@lists.libvirt.org Subject: [PATCH] src: fix typo in fixup_name() Date: Thu, 17 Jul 2025 19:24:35 +0300 Message-Id: <20250717162435.173293-1-etereshkina@astralinux.ru> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-KSMG-AntiPhishing: NotDetected X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Envelope-From: etereshkina@astralinux.ru X-KSMG-AntiSpam-Info: LuaCore: 63 0.3.63 9cc2b4b18bf16653fda093d2c494e542ac094a39, {Tracking_uf_ne_domains}, {Tracking_internal2}, {Tracking_from_domain_doesnt_match_to}, 127.0.0.199:7.1.2;astralinux.ru:7.1.1;new-mail.astralinux.ru:7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1, FromAlignment: s X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiSpam-Lua-Profiles: 194920 [Jul 17 2025] X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Version: 6.1.1.11 X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.1.0.7854, bases: 2025/07/17 14:59:00 #27637492 X-KSMG-AntiVirus-Status: NotDetected, skipped X-KSMG-LinksScanning: NotDetected X-KSMG-Message-Action: skipped X-KSMG-Rule-ID: 1 Content-Transfer-Encoding: quoted-printable X-MailFrom: etereshkina@astralinux.ru X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0 Message-ID-Hash: XSIMZFQNJ5LD6LFAH3PJT6K7BPRYKYG2 X-Message-ID-Hash: XSIMZFQNJ5LD6LFAH3PJT6K7BPRYKYG2 X-Mailman-Approved-At: Thu, 17 Jul 2025 17:04:04 -0400 CC: Elizaveta Tereshkina X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (Computed bodyhash is different from the expected one) X-ZM-MESSAGEID: 1752771870083116600 Content-Type: text/plain; charset="utf-8" Similar branches in the if-else structure look like bad copy-paste. Fix the typo. Fixes: a559ffec44 (src: rewrite ACL rule checker in Python) Signed-off-by: Elizaveta Tereshkina Reviewed-by: J=C3=A1n Tomko --- scripts/check-aclrules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-aclrules.py b/scripts/check-aclrules.py index ed6805058b..13aed99243 100755 --- a/scripts/check-aclrules.py +++ b/scripts/check-aclrules.py @@ -88,7 +88,7 @@ def fixup_name(name): elif name.endswith("Mac"): name =3D name[:-3] + "MAC" elif name.endswith("Cpu"): - name =3D name[:-3] + "MAC" + name =3D name[:-3] + "CPU" elif name.endswith("Os"): name =3D name[:-2] + "OS" elif name.endswith("Nmi"): --=20 2.39.2