/[gnue]/gnue-common/src/datasources/drivers/postgresql/popy/Driver.py
ViewVC logotype

Diff of /gnue-common/src/datasources/drivers/postgresql/popy/Driver.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by siesel, Tue Apr 29 19:25:17 2003 UTC revision 1.19 by siesel, Tue Oct 7 15:07:24 2003 UTC
# Line 59  class PG_ResultSet(PGSQL_ResultSet): Line 59  class PG_ResultSet(PGSQL_ResultSet):
59              i = 0              i = 0
60              dict = {}              dict = {}
61              for f in (rs):              for f in (rs):
62                dict[self._fieldNames[i]] = f                if self._dataObject._unicodeMode:
63                    f = f.decode(self._dataObject._databaseEncoding)
64                  dict[string.lower(self._fieldNames[i])] = f
65                i += 1                i += 1
66              self._cachedRecords.append (self._recordSetClass(parent=self, \              self._cachedRecords.append (self._recordSetClass(parent=self, \
67                                                               initialData=dict))                                                               initialData=dict))

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26