From 2a511384bed6d37592663b5af2441849ccb961d7 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sun, 23 Jan 2022 11:02:02 +0000 Subject: [PATCH] sv_binutils: fix _missing_ enum method --- src/openpower/sv/sv_binutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/sv/sv_binutils.py b/src/openpower/sv/sv_binutils.py index 728a2815..9875d00b 100644 --- a/src/openpower/sv/sv_binutils.py +++ b/src/openpower/sv/sv_binutils.py @@ -226,7 +226,7 @@ class Codegen(_enum.Enum): return { "ppc-svp64.h": Codegen.PPC_SVP64_H, "ppc-svp64-opc.c": Codegen.PPC_SVP64_OPC_C, - }[value] + }.get(value) def __str__(self): return { -- 2.30.2