chiark / gitweb /
remove redundant test_sdk_exists() call, its called by test_build_tools_exists()
authorHans-Christoph Steiner <hans@eds.org>
Mon, 8 Dec 2014 21:02:17 +0000 (22:02 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Sun, 14 Dec 2014 12:25:20 +0000 (13:25 +0100)
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

index 3a42ec58d0b8e87704dce316f1a2860fedeec397..5dc9b2b1ab7412115bb98384f85544dc0d253088 100644 (file)
@@ -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)