Fix a typo/cut-n-paste error in DBCursor.join_item so that it doesn't

return a tuple.  (this also implies that nobody uses this method; the
bug has been here for a long time)
This commit is contained in:
Gregory P. Smith 2003-07-07 19:06:45 +00:00
parent 8851c62b81
commit 84261d2f13
1 changed files with 1 additions and 1 deletions

View File

@ -3033,7 +3033,7 @@ DBC_join_item(DBCursorObject* self, PyObject* args)
retval = NULL;
}
else {
retval = Py_BuildValue("s#s#", key.data, key.size);
retval = Py_BuildValue("s#", key.data, key.size);
FREE_DBT(key);
}