diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2013-04-07 17:43:35 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2013-04-07 17:43:35 +0100 |
commit | 80e105c74d1846b036eccf14adad8dbc95dce39c (patch) | |
tree | 6c9699513fe724e0e16bee254945fa6482a36c2f /psycopg/microprotocols.c | |
parent | 7a1d1791d3f70be4ebe7eccb7ec50732589c3dcf (diff) | |
parent | b448f822f48885fcb3caa48f213bec54cf886ec0 (diff) | |
download | psycopg2-80e105c74d1846b036eccf14adad8dbc95dce39c.tar.gz |
Merge branch 'devel'2_5
Diffstat (limited to 'psycopg/microprotocols.c')
-rw-r--r-- | psycopg/microprotocols.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/microprotocols.c b/psycopg/microprotocols.c index 23f1279..1687bc2 100644 --- a/psycopg/microprotocols.c +++ b/psycopg/microprotocols.c @@ -203,7 +203,7 @@ microprotocols_adapt(PyObject *obj, PyObject *proto, PyObject *alt) /* else set the right exception and return NULL */ PyOS_snprintf(buffer, 255, "can't adapt type '%s'", Py_TYPE(obj)->tp_name); - psyco_set_error(ProgrammingError, NULL, buffer, NULL, NULL); + psyco_set_error(ProgrammingError, NULL, buffer); return NULL; } |