Browse files

Rename response type field to response_type.

Signed-off-by: Julien Danjou <julien@danjou.info>
  • Loading branch information...
1 parent 57ff61b commit c5842d48d4b9f9b1e65adde886b6e6aeda667154 @jd jd committed with sigalrm Feb 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/response.c
View
2 src/response.c
@@ -26,7 +26,7 @@ xpybResponse_getattro(PyObject *self, PyObject *obj)
if (PyObject_AsReadBuffer(self, (const void **)&data, &size) < 0)
return NULL;
- if (strcmp(name, "type") == 0)
+ if (strcmp(name, "response_type") == 0)
return Py_BuildValue("B", data->response_type);
if (strcmp(name, "sequence") == 0)
return Py_BuildValue("H", data->sequence);

0 comments on commit c5842d4

Please sign in to comment.