summaryrefslogtreecommitdiff
path: root/boto
diff options
context:
space:
mode:
authorINADA Naoki <inada-n@klab.com>2014-07-29 12:30:46 +0900
committerINADA Naoki <inada-n@klab.com>2014-07-29 12:30:46 +0900
commit035bbed784daeaed3a845a679cfef8d1e0daffdd (patch)
tree37bcf3b5dccfe97d08b5cd012dc007ce89644a72 /boto
parent9534f924890980a7de71046869106625f4b7351c (diff)
downloadboto-035bbed784daeaed3a845a679cfef8d1e0daffdd.tar.gz
Fix tests.
Diffstat (limited to 'boto')
-rw-r--r--boto/dynamodb2/results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/boto/dynamodb2/results.py b/boto/dynamodb2/results.py
index 9c4cee3d..3d80ecf3 100644
--- a/boto/dynamodb2/results.py
+++ b/boto/dynamodb2/results.py
@@ -132,7 +132,7 @@ class ResultSet(object):
# If the page size is greater than limit set them
# to the same value
- if self._limit and self._max_page_size > self._limit:
+ if self._limit and self._max_page_size and self._max_page_size > self._limit:
self._max_page_size = self._limit
# Put in the max page size.