summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2012-12-22 00:51:47 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2012-12-22 00:51:47 +0100
commita04379210bafa463e66f58c8906786bd442801c8 (patch)
tree0fd427037f533bfe0772b7af997160dd1481a702
parent6d9a25e63adf457437600902ad2bf9b9d0b4275c (diff)
downloadpsycopg2-a04379210bafa463e66f58c8906786bd442801c8.tar.gz
Doubt about 'c' buffer solved by Stefan Krah
-rw-r--r--psycopg/typecast_binary.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/psycopg/typecast_binary.c b/psycopg/typecast_binary.c
index 322d149..d63c702 100644
--- a/psycopg/typecast_binary.c
+++ b/psycopg/typecast_binary.c
@@ -93,7 +93,6 @@ int chunk_getbuffer(PyObject *_self, Py_buffer *view, int flags)
chunkObject *self = (chunkObject*)_self;
rv = PyBuffer_FillInfo(view, _self, self->base, self->len, 1, flags);
if (rv == 0) {
- /* TODO: is this really the way to do it? */
view->format = "c";
}
return rv;