Strip quote from cursor dict because some SQLite version return it.

This commit is contained in:
Cédric Krier committed 2009-09-08 08:47:37 +02:00
1 parent 52062c763b
commit ed04d78f43
1 file changed
+1
+1
View File
@@ -1196,6 +1196,7 @@ class ModelSQL(ModelStorage):
cache.setdefault(self._name, {})
for data in datas:
for i in data.keys():
i = i.strip('"')
if i in ('_timestamp', '_datetime'):
continue
field = self._columns[i]