From: Jens Steinhauser Date: Tue, 7 Oct 2014 12:01:34 +0000 (+0200) Subject: bindings: Better error handling in enumeration get() function. X-Git-Tag: libsigrok-0.4.0~883 X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=174bf146e5973cb7f11892c54972bc99e4a74eae;hp=174bf146e5973cb7f11892c54972bc99e4a74eae;p=libsigrok.git bindings: Better error handling in enumeration get() function. 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. ---