Parent Directory
|
Revision Log
|
Patch
revision 2754 by bramz, Thu Mar 1 12:42:59 2007 UTC | revision 2755 by dpinte, Thu Apr 12 09:21:58 2007 UTC | |
---|---|---|
# | Line 77 class DataTable(grid.PyGridTableBase): | Line 77 class DataTable(grid.PyGridTableBase): |
77 | record = dict() | record = dict() |
78 | for (key, val) in self.table.ReadRowAsDict(row, \ | for (key, val) in self.table.ReadRowAsDict(row, \ |
79 | row_is_ordinal = 1).items(): | row_is_ordinal = 1).items(): |
80 | if isinstance(val, str): | record[key] = val |
record[key] = val.decode('iso-8859-1') | ||
else: | ||
record[key] = val | ||
81 | return record[self.columns[col][0]] | return record[self.columns[col][0]] |
82 | ||
83 | def SetValue(self, row, col, value): | def SetValue(self, row, col, value): |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |