From 0f71929e71d5b57562d6a9c2f73851139e68b0bb Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 8 Dec 2014 22:02:17 +0100 Subject: [PATCH] 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. --- fdroidserver/common.py | 3 --- 1 file changed, 3 deletions(-) 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) -- 2.30.2