[Python-checkins] python/dist/src/Modules _bsddb.c,1.14,1.15

greg@users.sourceforge.net greg@users.sourceforge.net
Mon, 07 Jul 2003 12:06:47 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv19538/extsrc

Modified Files:
	_bsddb.c 
Log Message:
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)


Index: _bsddb.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_bsddb.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** _bsddb.c	15 May 2003 00:13:18 -0000	1.14
--- _bsddb.c	7 Jul 2003 19:06:45 -0000	1.15
***************
*** 3034,3038 ****
      }
      else {
!         retval = Py_BuildValue("s#s#", key.data, key.size);
          FREE_DBT(key);
      }
--- 3034,3038 ----
      }
      else {
!         retval = Py_BuildValue("s#", key.data, key.size);
          FREE_DBT(key);
      }