Remove SilentPopen for consistency with SdkToolsPopen

This commit is contained in:
Daniel Martí 2014-12-14 15:32:20 +01:00
parent 1a0831b5c0
commit 1268da7ac6
2 changed files with 57 additions and 68 deletions

View file

@ -177,7 +177,7 @@ def main():
logging.info('Try running `fdroid init` in an empty directory.')
sys.exit()
if not 'aapt' in test_config or not os.path.isfile(test_config['aapt']):
if 'aapt' not in test_config or not os.path.isfile(test_config['aapt']):
# try to find a working aapt, in all the recent possible paths
build_tools = os.path.join(test_config['sdk_path'], 'build-tools')
aaptdirs = []