File: arm4module.c
Function: update_transaction
Error: returning (PyObject*)NULL without setting an exception
3967 static PyObject *
3968 update_transaction (PyObject *self, PyObject *args, PyObject *keywds)
3969 {
3970     arm_error_t status;
3971 	ArmHandle *tran_handle;
3972 	ArmBuffer *buffer = NULL;
3973 	arm_buffer4_t *buffer_ptr = NULL;
3974 
3975 	/*
3976 	 * Supported calling signatures:
3977 	 *	update_transaction (tran_handle)
3978 	 *	update_transaction (tran_handle, (buffers...))
3979 	 */
3980 	static char *kwlist[] = {"tran_handle", "buffer", NULL};
3981 
3982 	if (!PyArg_ParseTupleAndKeywords(args, keywds, "O|O:update_transaction", kwlist, &tran_handle, &buffer))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
3983         return NULL;
3984 	if (!ArmHandle_Object_Check(tran_handle))
when taking True path
when considering range: -0x80000000 <= value <= -1
taking False path
3985 		return NULL;
3986 	if (buffer && ArmBuffer_Object_Check(buffer))
taking True path
when taking False path
when considering value == (int)0 from arm4module.c:3986
taking False path
3987 	{
3988 		prepare (buffer);
3989 		buffer_ptr = &(buffer->arm_buffer);
3990 	}
3991 
3992 	status = arm_update_transaction(
3993 		tran_handle->arm_handle,
3994 		0,
3995 		buffer_ptr);
3996 	if (GETSTATE0->enableExceptions && (status != ARM_SUCCESS))
when considering range: -0x80000000 <= value <= -1
when considering range: -0x80000000 <= value <= -1
taking True path
3997 	{
3998 		set_arm_error (status, "arm_update_transaction");
3999 		return NULL;
4000 	}
4001 
4002 	/* Empty return */
4003 	Py_INCREF(Py_None);
4004 	return Py_None;
4005 }
returning (PyObject*)NULL without setting an exception
found 9 similar trace(s) to this