From a4330081b7027b1c8c5e6b3b41af973dcec2afdd Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Mon, 2 Oct 2023 13:26:58 +0200 Subject: [PATCH] proxy: fix command wrapper bugfix: return only value of execCommand result, not qualifiers Change-Id: Iff14779050daa9886e9f7d0396317c5a41695cd1 Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/32235 Tested-by: Jenkins Automated Tests Reviewed-by: Markus Zolliker --- frappy/proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappy/proxy.py b/frappy/proxy.py index 10219d0..3ea3fe0 100644 --- a/frappy/proxy.py +++ b/frappy/proxy.py @@ -215,7 +215,7 @@ def proxy_class(remote_class, name=None): cobj = aobj.copy() def cfunc(self, arg=None, cname=aname): - return self._secnode.execCommand(self.name, cname, arg) + return self._secnode.execCommand(self.name, cname, arg)[0] attrs[aname] = cobj(cfunc)