From 9a94a1ed5001111bf810232efc80c69395f68796 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=89ric=20Piel?= Date: Fri, 19 Oct 2012 16:50:50 +0200 Subject: [PATCH] send excpetions from get_softcal_converter and get_hardcal_converter this allows to catch them from _get_converter() --- pycomedi/channel.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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`. -- 2.26.2