chiark / gitweb /
init: split out defconfig and sdk test to run before config is loaded
authorHans-Christoph Steiner <hans@eds.org>
Wed, 23 Apr 2014 16:44:37 +0000 (12:44 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 23 Apr 2014 23:32:04 +0000 (19:32 -0400)
commit186aec46baed1fb50af9ffb2e296abca088a7028
treece7bbd5a534a6908dd693c5c87c31bb2ee982100
parent088b7dfa2a752b2d09dbefd4e11871a91a039ac5
init: split out defconfig and sdk test to run before config is loaded

`fdroid init` runs before any config.py exists, but it still needs to have
the default config and the SDK path tests.  So split those two bits out of
common.read_config() so that they can be run separately before config.py
is in place.
fdroidserver/common.py
fdroidserver/init.py