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 <pedersen+jenkins@frm2.tum.de> Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
This commit is contained in:
parent
3b997d7d86
commit
a4330081b7
@ -215,7 +215,7 @@ def proxy_class(remote_class, name=None):
|
|||||||
cobj = aobj.copy()
|
cobj = aobj.copy()
|
||||||
|
|
||||||
def cfunc(self, arg=None, cname=aname):
|
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)
|
attrs[aname] = cobj(cfunc)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user