aboutsummaryrefslogtreecommitdiffstats
path: root/tools/cross_compile_android/android_utilities.py
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2024-01-24 15:43:20 +0100
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2024-01-24 16:51:44 +0100
commit82aaa6484834b1429d34554512376397d5204e7e (patch)
treef05178ab49f63d4feb50a55b69d891986610a53a /tools/cross_compile_android/android_utilities.py
parent5929c612b5bebb8e2bfa703e9db5ec20a077a0a0 (diff)
Android Cross Compilation - Fix flake8 warnings
Pick-to: 6.6 Change-Id: Id6e9cdbc7c0b763e8bbb4b7e8dc3ab568b65ebf8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tools/cross_compile_android/android_utilities.py')
-rw-r--r--tools/cross_compile_android/android_utilities.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/cross_compile_android/android_utilities.py b/tools/cross_compile_android/android_utilities.py
index e93631173..b09ab7bd9 100644
--- a/tools/cross_compile_android/android_utilities.py
+++ b/tools/cross_compile_android/android_utilities.py
@@ -126,14 +126,14 @@ def download_android_ndk(ndk_path: Path):
print(f"NDK path found in {str(ndk_version_path)}")
else:
ndk_path.mkdir(parents=True, exist_ok=True)
- url = f"https://dl.google.com/android/repository/android-ndk-r{ANDROID_NDK_VERSION}-linux.zip"
+ url = (f"https://dl.google.com/android/repository"
+ f"/android-ndk-r{ANDROID_NDK_VERSION}-linux.zip")
print(f"Downloading Android Ndk version r{ANDROID_NDK_VERSION}")
_download(url=url, destination=ndk_zip_path)
print("Unpacking Android Ndk")
- _unpack(zip_file=(ndk_path /
- f"android-ndk-r{ANDROID_NDK_VERSION}-linux.zip"),
+ _unpack(zip_file=(ndk_path / f"android-ndk-r{ANDROID_NDK_VERSION}-linux.zip"),
destination=ndk_path)
return ndk_version_path