Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't give tuples to the lambda operator

  • Loading branch information...
commit 9113bdaf65002eba5e0860426444f63682a68085 1 parent 9539206
Garrett Holmstrom gholms authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  boto/mturk/connection.py
2  boto/mturk/connection.py
View
@@ -280,7 +280,7 @@ def get_all_hits(self):
page_size = 100
search_rs = self.search_hits(page_size=page_size)
total_records = int(search_rs.TotalNumResults)
- get_page_hits = lambda(page): self.search_hits(page_size=page_size, page_number=page)
+ get_page_hits = lambda page: self.search_hits(page_size=page_size, page_number=page)
page_nums = self._get_pages(page_size, total_records)
hit_sets = itertools.imap(get_page_hits, page_nums)
return itertools.chain.from_iterable(hit_sets)
Please sign in to comment.
Something went wrong with that request. Please try again.