From: Éric Piel Date: Fri, 19 Oct 2012 14:50:50 +0000 (+0200) Subject: send excpetions from get_softcal_converter and get_hardcal_converter X-Git-Tag: 0.6~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9a94a1ed5001111bf810232efc80c69395f68796;p=pycomedi.git send excpetions from get_softcal_converter and get_hardcal_converter this allows to catch them from _get_converter() --- diff --git a/pycomedi/channel.pyx b/pycomedi/channel.pyx index 41cdbd3..b71129f 100644 --- a/pycomedi/channel.pyx +++ b/pycomedi/channel.pyx @@ -384,7 +384,7 @@ cdef class AnalogChannel (Channel): cdef _comedilib_h.comedi_polynomial_t get_softcal_converter( - self, direction, _Calibration calibration): + self, direction, _Calibration calibration) except *: """ `direction` should be a value from `constant.CONVERSION_DIRECTION`. @@ -401,7 +401,7 @@ cdef class AnalogChannel (Channel): return poly cdef _comedilib_h.comedi_polynomial_t get_hardcal_converter( - self, direction): + self, direction) except *: """ `direction` should be a value from `constant.CONVERSION_DIRECTION`.