Fix error condition `ret < 0` -> `ret < len(insnlist)` for Device.do_insnlist.
authorW. Trevor King <wking@drexel.edu>
Mon, 19 Mar 2012 16:10:18 +0000 (12:10 -0400)
committerW. Trevor King <wking@drexel.edu>
Mon, 19 Mar 2012 16:10:18 +0000 (12:10 -0400)
commit8b1b5632e4a4cc909cb0c0fb062082d10a536f9a
tree3ebe480162ffa873507d0ebb91a4bd5a839d373b
parent6e52484d44f0984424ddc618596d46e0cfee8b96
Fix error condition `ret < 0` -> `ret < len(insnlist)` for Device.do_insnlist.

The previous implemenation would apparently succeed if there was an
error executing an instruction.  It would only raise an exception if a
failure occured before the first instruction could be executed.
pycomedi/device.pyx