pidl/Python: stop processing if fail to create a PyObject from a C type
authorStefan Metzmacher <metze@samba.org>
Tue, 9 May 2017 06:57:28 +0000 (08:57 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2019 11:48:38 +0000 (12:48 +0100)
commitb93bc47f2a0d80e0ac4206294f236630148ad50d
treeab6b3eb46e936d4caf10b62cfaa661485341a82a
parenteff273d09ace73675dc73010f98525f951121b94
pidl/Python: stop processing if fail to create a PyObject from a C type

If the conversion from a C variable into a PyObject fails
(typically is raises an Exception), we need to stop processing
and propagate the error.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
pidl/lib/Parse/Pidl/Samba4/Python.pm