commit | 174bf146e5973cb7f11892c54972bc99e4a74eae | [log] [tgz] |
---|---|---|
author | Jens Steinhauser <jens.steinhauser@gmail.com> | Tue Oct 07 14:01:34 2014 +0200 |
committer | Bert Vermeulen <bert@biot.com> | Tue Oct 07 15:15:17 2014 +0200 |
tree | 39d30cf4e09f90bd6ba38fc370cc3184173802c4 | |
parent | 2eb1612d463e9232af437d9a6c1b3897da2367e9 [diff] |
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.