diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2019-03-24 09:14:43 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2019-03-25 07:01:30 +0000 |
commit | 82c170db6f52f55ce7b7c6e37cfd20495f0336ed (patch) | |
tree | b2d1b2762623d126819effc7a5d1e1df9ef1ab50 /.gitlab-ci.yml | |
parent | 7576e029916c835435ca8bf67b03d7fed9f759a0 (diff) | |
download | pygobject-82c170db6f52f55ce7b7c6e37cfd20495f0336ed.tar.gz |
pygi_error_marshal_to_py: Fix error return handling. Fixes #315
It returned NULL in case no error was set or if creating the error
result failed and this wasn't checked by the callers.
Change it to return Py_None in case no error was set and NULL in
case of an error. In pygi_error_check() we can't really forward the
error, so just print it and raise RuntimeError instead.
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions