Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2008-10-08 13:00:02 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2008-10-08 13:00:02 (GMT)
commite78e3a443d26e3aa55429c3730a53985e2606ec8 (patch)
tree478cdc76a7a37b0959a810609c54d92d6ea4513b
parent1e0fcb62decef4f56814c8d54fe5e9f89b77d07c (diff)
Make sure _MAX_RESULTS is an int
-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 e40812a..f1d5dd6 100644
--- a/src/olpc/datastore/indexstore.py
+++ b/src/olpc/datastore/indexstore.py
@@ -28,7 +28,7 @@ _FLUSH_TIMEOUT = 60
_PROPERTIES_NOT_TO_INDEX = ['timestamp', 'activity_id', 'keep', 'preview']
-_MAX_RESULTS = 2 ** 31 - 1
+_MAX_RESULTS = int(2 ** 31 - 1)
class IndexStore(object):
def __init__(self):