Some minor lookup refactoring.
authorEevee <git@veekun.com>
Tue, 25 Aug 2009 04:50:19 +0000 (21:50 -0700)
committerEevee <git@veekun.com>
Tue, 25 Aug 2009 04:50:19 +0000 (21:50 -0700)
commit4a32d3d0331bfb9cfb3be8d7016859e860bf453e
tree129a984a797941e757d2673a634db136fb873df8
parentc1e04230b41a3b5f9f105c780773560a78f7382f
Some minor lookup refactoring.

Wrote a little add() function to clean up the duplication of
add_document().

Delete the index directory if it exists and we're being forced to
recreate it.
pokedex/lookup.py