From 46380e34fe8bcd4f575a56276d85f9d76f334a3a Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Tue, 21 Mar 2023 21:37:33 -0400 Subject: [PATCH] Remove unused variable --- scripts/tools/zap_regen_all.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/tools/zap_regen_all.py b/scripts/tools/zap_regen_all.py index 4ca6b6fdda6199..94407cae55b634 100755 --- a/scripts/tools/zap_regen_all.py +++ b/scripts/tools/zap_regen_all.py @@ -229,7 +229,6 @@ def runJavaPrettifier(self): JAR_NAME = f"google-java-format-{FORMAT_VERSION}-all-deps.jar" jar_url = f"{URL_PREFIX}-{FORMAT_VERSION}/{JAR_NAME}" - home = str(Path.home()) path, http_message = urllib.request.urlretrieve(jar_url, Path.home().joinpath(JAR_NAME).as_posix()) subprocess.check_call(['java', '-jar', path, '--replace'] + java_outputs)