Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2272 from appneta/fix_ddb2_batch_get_consistent
Browse files Browse the repository at this point in the history
Fix "consistent" argument to boto.dynamodb2.table.Table.batch_get. Fixes #2272.
  • Loading branch information
danielgtaylor committed May 29, 2014
2 parents d5ed49f + f601f4d commit c432b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boto/dynamodb2/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@ def batch_get(self, keys, consistent=False):
# We pass the keys to the constructor instead, so it can maintain it's
# own internal state as to what keys have been processed.
results = BatchGetResultSet(keys=keys, max_batch_get=self.max_batch_get)
results.to_call(self._batch_get, consistent=False)
results.to_call(self._batch_get, consistent=consistent)
return results

def _batch_get(self, keys, consistent=False):
Expand Down

0 comments on commit c432b09

Please sign in to comment.