From 77d8e2089d3c5fe79cb06f0b94de502219a68fd6 Mon Sep 17 00:00:00 2001 From: Ajin Abraham Date: Tue, 9 Jan 2024 15:28:16 -0800 Subject: [PATCH] Update manifest_analysis.py Code QA --- mobsf/StaticAnalyzer/views/android/manifest_analysis.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mobsf/StaticAnalyzer/views/android/manifest_analysis.py b/mobsf/StaticAnalyzer/views/android/manifest_analysis.py index 9d053538a9..5ae98f802b 100755 --- a/mobsf/StaticAnalyzer/views/android/manifest_analysis.py +++ b/mobsf/StaticAnalyzer/views/android/manifest_analysis.py @@ -66,11 +66,8 @@ def assetlinks_check(act_name, well_knowns): for w_url, host in well_knowns.items(): logger.info( 'App Link Assetlinks Check - [%s] %s', act_name, host) - futures.append( - executor.submit(_check_url, host, w_url)) - - for future in futures: - findings.append(future.result()) + findings.append( + executor.submit(_check_url, host, w_url).result()) return findings