Fixed gen() doesn't have len() error.
This commit is contained in:
parent
c2df7732e5
commit
c52e9215b2
@ -369,7 +369,7 @@ class Table(object):
|
|||||||
if scan_index_forward is False:
|
if scan_index_forward is False:
|
||||||
results.reverse()
|
results.reverse()
|
||||||
|
|
||||||
scanned_count = len(self.all_items())
|
scanned_count = len(list(self.all_items()))
|
||||||
|
|
||||||
results, last_evaluated_key = self._trim_results(results, limit,
|
results, last_evaluated_key = self._trim_results(results, limit,
|
||||||
exclusive_start_key)
|
exclusive_start_key)
|
||||||
|
Loading…
Reference in New Issue
Block a user