OpenBazaar/OpenBazaar — pull request #475 by benemorius (2014-09-08 01:51:34+00:00)
Title: upgrade_db.sh: fix locating of python binary

This fixes two bugs:

upgrade fails when deps were installed to virtualenv but not system
upgrade fails when python==python3 (notably on arch)

also make use of `type` over `which` consistent across scripts