From fb5e4680483822d41df5089a87f79ff50e07ec91 Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Mon, 24 Jun 2024 15:41:54 +0200 Subject: [PATCH] frappy_psi.sea: use raise from this was complained by Jenkins after merging (1) Change-Id: I9e4eb57004d218021978d6e9e06e1cbd42ec5e9c Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/34024 Reviewed-by: Markus Zolliker Tested-by: Jenkins Automated Tests --- frappy_psi/sea.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappy_psi/sea.py b/frappy_psi/sea.py index 2d98cc3..d77d84d 100644 --- a/frappy_psi/sea.py +++ b/frappy_psi/sea.py @@ -425,7 +425,7 @@ class SeaEnum(EnumType): value = int(value) return super().__call__(value) except Exception as e: - raise ReadFailedError(e) + raise ReadFailedError(e) from e def get_datatype(paramdesc):