Changeset 2593 for pykota/trunk/pykota/storages/sqlitestorage.py
- Timestamp:
- 11/29/05 12:43:34 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/sqlitestorage.py
r2591 r2593 123 123 else : 124 124 return "NULL" 125 126 def prepareRawResult(self, result) : 127 """Prepares a raw result by including the headers.""" 128 if result : 129 entries = [tuple([f[0] for f in self.cursor.description])] 130 for entry in result : 131 row = [] 132 for value in entry : 133 try : 134 value = value.encode("UTF-8") 135 except : 136 pass 137 row.append(value) 138 entries.append(tuple(row)) 139 return entries 140