Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2008-08-22 16:39:06 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2008-08-22 16:41:50 (GMT)
commit2d7a930077b7651195f32d245ac0615135fb51d8 (patch)
treec54772f3f21ef3e8ded07122e1ed3466ce0667c1 /src
parent379163bd4c9a60b5ac8b1417c1a3d34ad884c687 (diff)
Timestamps are integers
Diffstat (limited to 'src')
-rw-r--r--src/olpc/datastore/indexstore.py2
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)