projects
/
zzz-pokedex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed some missing colons in ":mechanic:". #185
[zzz-pokedex.git]
/
pokedex
/
lookup.py
diff --git
a/pokedex/lookup.py
b/pokedex/lookup.py
index
f35e335
..
9e2ead6
100644
(file)
--- a/
pokedex/lookup.py
+++ b/
pokedex/lookup.py
@@
-58,7
+58,9
@@
class PokedexLookup(object):
for cls in (
tables.Ability,
tables.Item,
for cls in (
tables.Ability,
tables.Item,
+ tables.Location,
tables.Move,
tables.Move,
+ tables.Nature,
tables.Pokemon,
tables.Type,
)
tables.Pokemon,
tables.Type,
)
@@
-142,7
+144,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():
# 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 = se
lf.se
ssion.query(cls)
for row in q.yield_per(5):
row_key = dict(table=unicode(cls.__tablename__),
for row in q.yield_per(5):
row_key = dict(table=unicode(cls.__tablename__),