From: a_magical_me Date: Thu, 13 May 2010 17:33:07 +0000 (-0700) Subject: Factor out logic for finding the default db/index. #180 X-Git-Tag: veekun-promotions/2010051501~1 X-Git-Url: http://git.veekun.com/zzz-pokedex.git/commitdiff_plain/7323dd76007f16915391386822a7bd8a3a58ebab?hp=7323dd76007f16915391386822a7bd8a3a58ebab Factor out logic for finding the default db/index. #180 Note: `if not x:` has changed to `if x is not None:`, changing the semantics slightly. Shouldn't be a big issue. ---