[Zope3-checkins] CVS: Zope3/src/zope/app/rdb - __init__.py:1.18

Sidnei da Silva sidnei@x3ng.com.br
Fri, 4 Jul 2003 09:34:09 -0400


Update of /cvs-repository/Zope3/src/zope/app/rdb
In directory cvs.zope.org:/tmp/cvs-serv4237

Modified Files:
	__init__.py 
Log Message:
Fix unittests according to the interface docstring and fix codee accordingly

=== Zope3/src/zope/app/rdb/__init__.py 1.17 => 1.18 ===
--- Zope3/src/zope/app/rdb/__init__.py:1.17	Fri Jul  4 09:01:26 2003
+++ Zope3/src/zope/app/rdb/__init__.py	Fri Jul  4 09:33:35 2003
@@ -253,7 +253,7 @@
 
     def fetchone(self):
         results = self.cursor.fetchone()
-        return self._convertTypes(results)
+        return self._convertTypes([results])[0]
 
     def fetchmany(self, *args, **kw):
         results = self.cursor.fetchmany(*args, **kw)