mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-12-10 16:24:37 +03:00
src: fix typo in fixup_name()
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 <etereshkina@astralinux.ru>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
committed by
Ján Tomko
parent
22ee3b78db
commit
c1cf7cb334
@@ -88,7 +88,7 @@ def fixup_name(name):
|
||||
elif name.endswith("Mac"):
|
||||
name = name[:-3] + "MAC"
|
||||
elif name.endswith("Cpu"):
|
||||
name = name[:-3] + "MAC"
|
||||
name = name[:-3] + "CPU"
|
||||
elif name.endswith("Os"):
|
||||
name = name[:-2] + "OS"
|
||||
elif name.endswith("Nmi"):
|
||||
|
||||
Reference in New Issue
Block a user