jobcore/libcap-ng/libcap-ng-0.8.4-remove_exception_handler.patch
2024-04-07 23:11:37 +03:00

18 lines
383 B
Diff

diff --git a/bindings/src/capng_swig.i b/bindings/src/capng_swig.i
index fcdaf18..fa85e13 100644
--- a/bindings/src/capng_swig.i
+++ b/bindings/src/capng_swig.i
@@ -30,13 +30,6 @@
%varargs(16, signed capability = 0) capng_updatev;
-%except(python) {
- $action
- if (result < 0) {
- PyErr_SetFromErrno(PyExc_OSError);
- return NULL;
- }
-}
#endif
%define __signed__