(Really) fixed list adaptation.

This commit is contained in:
Federico Di Gregorio 2006-06-11 03:40:53 +00:00
parent a9045916f2
commit 1ac75e3b80

View File

@ -46,7 +46,7 @@ list_quote(listObject *self)
/* empty arrays are converted to NULLs (still searching for a way to
insert an empty array in postgresql */
if (len == 0) return PyString_FromString("{}");
if (len == 0) return PyString_FromString("'{}'");
tmp = PyTuple_New(len);