Remove use of yield_per

This commit is contained in:
Andrew Ekstedt 2015-05-21 00:07:03 -07:00
parent 1240bc87f7
commit 6c934ce9e4

View file

@ -195,7 +195,7 @@ class PokedexLookup(object):
for cls in self.indexed_tables.values(): for cls in self.indexed_tables.values():
q = self.session.query(cls).order_by(cls.id) q = self.session.query(cls).order_by(cls.id)
for row in q.yield_per(5): for row in q:
row_key = dict(table=unicode(cls.__tablename__), row_key = dict(table=unicode(cls.__tablename__),
row_id=unicode(row.id)) row_id=unicode(row.id))