From: Hans-Christoph Steiner Date: Mon, 8 Dec 2014 21:02:17 +0000 (+0100) Subject: remove redundant test_sdk_exists() call, its called by test_build_tools_exists() X-Git-Tag: 0.3.0~13^2~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0f71929e71d5b57562d6a9c2f73851139e68b0bb;p=fdroidserver.git remove redundant test_sdk_exists() call, its called by test_build_tools_exists() No need to call test_sdk_exists() before test_build_tools_exists() since test_build_tools_exists() calls test_sdk_exists() as the first thing it does. --- diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 3a42ec58..5dc9b2b1 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -130,9 +130,6 @@ def read_config(opts, config_file='config.py'): fill_config_defaults(config) - if not test_sdk_exists(config): - sys.exit(3) - if not test_build_tools_exists(config): sys.exit(3)