1
0
Fork 0
mirror of https://github.com/veekun/pokedex.git synced 2024-08-20 18:16:34 +00:00

Fixed lookup tests to, um, run.

This commit is contained in:
Eevee 2010-03-28 22:14:27 -07:00
parent d995942b4f
commit 82e797c6d0
3 changed files with 20 additions and 22 deletions
pokedex

View file

@ -143,7 +143,7 @@ class PokedexLookup(object):
# especially when e.g. German names are very similar to English names
speller_entries = []
for cls in self.indexed_tables.values():
q = session.query(cls)
q = self.session.query(cls)
for row in q.yield_per(5):
row_key = dict(table=unicode(cls.__tablename__),