commit 13cf285f677fb01e6b0d4c4b249a7988bf6cbe22
parent 74bd1f11812b90fd5328153771aca2923ecee7bb
Author: Alex Hochheiden <ahochheiden@mozilla.com>
Date: Wed, 10 Dec 2025 06:03:24 +0000
Bug 2003412 - Fix PLW0128 warnings: Remove redeclared variable in assignment r=emilio,tcampbell,geckoview-reviewers
https://docs.astral.sh/ruff/rules/redeclared-assigned-name/
Differential Revision: https://phabricator.services.mozilla.com/D274695
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/mobile/android/mach_commands.py b/mobile/android/mach_commands.py
@@ -238,9 +238,7 @@ def install_app_bundle(command_context, bundle):
bundletool = mozpath.join(command_context._mach_context.state_dir, "bundletool.jar")
device = ADBDeviceFactory(verbose=True)
bundle_path = mozpath.join(command_context.topobjdir, bundle)
- java_home = java_home = os.path.dirname(
- os.path.dirname(command_context.substs["JAVA"])
- )
+ java_home = os.path.dirname(os.path.dirname(command_context.substs["JAVA"]))
device.install_app_bundle(bundletool, bundle_path, java_home, timeout=120)