]> sigrok.org Git - libsigrok.git/commitdiff
bindings: Better error handling in enumeration get() function.
authorJens Steinhauser <redacted>
Tue, 7 Oct 2014 12:01:34 +0000 (14:01 +0200)
committerBert Vermeulen <redacted>
Tue, 7 Oct 2014 13:15:17 +0000 (15:15 +0200)
Prior to this patch a call to get() with an invalid enumeration value
would raise an exception that would, for example, terminate the python
interpreter, whereas now the exception is handled and translated into a
proper python exception.


No differences found