diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2008-08-22 16:39:06 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2008-08-22 16:41:50 (GMT) |
commit | 2d7a930077b7651195f32d245ac0615135fb51d8 (patch) | |
tree | c54772f3f21ef3e8ded07122e1ed3466ce0667c1 /src | |
parent | 379163bd4c9a60b5ac8b1417c1a3d34ad884c687 (diff) |
Timestamps are integers
Diffstat (limited to 'src')
-rw-r--r-- | src/olpc/datastore/indexstore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/olpc/datastore/indexstore.py b/src/olpc/datastore/indexstore.py index 120c2e3..fbe85c9 100644 --- a/src/olpc/datastore/indexstore.py +++ b/src/olpc/datastore/indexstore.py @@ -158,7 +158,7 @@ class IndexStore(object): end = mtime_range['end'][:-7] end = time.mktime(time.strptime(end, DATE_FORMAT)) - query['timestamp'] = {'start': start, 'end': end} + query['timestamp'] = {'start': int(start), 'end': int(end)} def delete(self, uid): self._database.delete_document(_PREFIX_UID + uid) |