summaryrefslogtreecommitdiff
path: root/tools/releasetools/apex_utils.py
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2023-04-15 01:48:58 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-04-15 01:48:58 +0000
commit7b640806daf3cef7eddba9ca9544f13750895ade (patch)
tree4f4e75cac52f7aef08fb04cccb3e479e100e952e /tools/releasetools/apex_utils.py
parent5da012adb07270fedc765c457ba84cd66b1ba5e9 (diff)
parentf92f7f046a07b79ce768692c7500cc74f733aa55 (diff)
Merge "Revert "Remove all ZIP64LIMIT hack""
Diffstat (limited to 'tools/releasetools/apex_utils.py')
-rw-r--r--tools/releasetools/apex_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/releasetools/apex_utils.py b/tools/releasetools/apex_utils.py
index d52370194d..59c712e5a4 100644
--- a/tools/releasetools/apex_utils.py
+++ b/tools/releasetools/apex_utils.py
@@ -431,7 +431,7 @@ def SignUncompressedApex(avbtool, apex_file, payload_key, container_key,
apex_zip = zipfile.ZipFile(apex_file, 'a', allowZip64=True)
common.ZipWrite(apex_zip, payload_file, arcname=APEX_PAYLOAD_IMAGE)
common.ZipWrite(apex_zip, payload_public_key, arcname=APEX_PUBKEY)
- apex_zip.close()
+ common.ZipClose(apex_zip)
# 3. Sign the APEX container with container_key.
signed_apex = common.MakeTempFile(prefix='apex-container-', suffix='.apex')