Move function_name extraction up in pycomedi/_error.pyx's comedi_get.
authorW. Trevor King <wking@drexel.edu>
Thu, 8 Mar 2012 19:51:24 +0000 (14:51 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 8 Mar 2012 19:51:24 +0000 (14:51 -0500)
commitc258d1bb580874a58e4b9cf14e36517084ae380f
tree87d8791a048767a2c38ec5e9c7be23eea0b25f9f
parent28506c87c7ccff93fd34cc0d16251bce4489e51d
Move function_name extraction up in pycomedi/_error.pyx's comedi_get.

This avoids:
  pycomedi/_error.pyx:43:29:
    local variable 'function_name' referenced before assignment
pycomedi/_error.pyx