commit | 9406ace82b12780da84b2553cb74f88101978ea2 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Wed Jun 29 00:57:40 2011 -0400 |
committer | Eric Paris <eparis@redhat.com> | Thu Aug 11 23:35:52 2011 -0400 |
tree | e115eec94c17313d7414e8c0d26a85e1ace6d01d | |
parent | 78d58d73b4098ec56b6545abd9f9719563d0d587 [diff] |
libsemanage: throw exceptions in python rather than return NULL Python doesn't really work on the basis of negative error code. It throws exceptions. This patch automatically generates little stub functions which will catch negative error codes and will throw exceptions in their place. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>