704 static PyObject *
705 urj_pyc_detectflash (urj_pychain_t *self, PyObject *args)
706 {
707 urj_chain_t *urc = self->urchain;
708 int adr;
709 if (!PyArg_ParseTuple (args, "i", &adr))
when PyArg_ParseTuple() succeeds
taking False path
710 return NULL;
711 if (!urj_pyc_precheck (urc, UPRC_CBL|UPRC_BUS))
when considering value == (int)0 from chain.c:711
taking True path
712 return NULL;
713
714 return Py_BuildValue ("i",
715 urj_flash_detectflash (URJ_LOG_LEVEL_NORMAL,
716 urj_bus, adr));
717 }
returning (PyObject*)NULL without setting an exception