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

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

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

revision 1.9 by siesel, Wed Oct 8 15:51:48 2003 UTC revision 1.10 by siesel, Thu Oct 9 21:27:49 2003 UTC
# Line 168  class DBF_ResultSet(STATIC_ResultSet): Line 168  class DBF_ResultSet(STATIC_ResultSet):
168        c=0        c=0
169        for f in self._dataObject._dataConnection.fields:        for f in self._dataObject._dataConnection.fields:
170          if self._dataObject._unicodeMode and type(f)==types.StringType:          if self._dataObject._unicodeMode and type(f)==types.StringType:
171            f = f.decode(self._dataObject._databaseEncoding)            f = unicode(f,self._dataObject._databaseEncoding)
172                                    
173          dict[string.lower(f[0])] = row[c]          dict[string.lower(f[0])] = row[c]
174          c+=1          c+=1

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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